Fix error in template map, key should be the types, not strings
svn: r22443
This commit is contained in:
parent
9b1af034fc
commit
cc8b166138
@ -168,7 +168,7 @@ code += "\n #templates for the source types defined\n"\
|
|||||||
" # L: List reference (for in bibliography list)\n"
|
" # L: List reference (for in bibliography list)\n"
|
||||||
code += ' EVIDENCETEMPLATES = {\n'
|
code += ' EVIDENCETEMPLATES = {\n'
|
||||||
for source_type in allkeys:
|
for source_type in allkeys:
|
||||||
code += " '" + source_type + "': {\n"
|
code += " " + source_type + ": {\n"
|
||||||
for val in ['F', 'L', 'S']:
|
for val in ['F', 'L', 'S']:
|
||||||
code += " '" + val + "': [\n"
|
code += " '" + val + "': [\n"
|
||||||
for field in TYPE2CITEMAP[source_type][val]:
|
for field in TYPE2CITEMAP[source_type][val]:
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user