diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-02-04 21:49:36 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-02-04 21:49:36 -0500 |
| commit | e63154721bf377ec42f1d5de39b74c7d1e1ebb2d (patch) | |
| tree | 4694f9c84665763e509e0cf09c02f6b94bcc580d /BibTeX.py | |
| parent | 2f94281f983f86b23f8e5bcdc790fd4e032a0a2d (diff) | |
| download | anonbib-e63154721bf377ec42f1d5de39b74c7d1e1ebb2d.tar.gz | |
entries --> fields (possible confusion with Bibtex.entries)
Diffstat (limited to 'BibTeX.py')
| -rw-r--r-- | BibTeX.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,7 +64,7 @@ class BibTeX: if seen.get(cr.key): raise ParseError("Circular crossref at %s" % ent.key) seen[cr.key] = 1 - del ent.entries['crossref'] + del ent['crossref'] if cr.entryLine < ent.entryLine: print "Warning: crossref %s used after declaration" % cr.key @@ -74,7 +74,7 @@ class BibTeX: print "ERROR: %s defined both in %s and in %s" % ( k, ent.key, cr.key) else: - ent.entries[k] = cr.entries[k] + ent[k] = cr[k] ent.resolve() rk = config.REQUIRE_KEY |
