aboutsummaryrefslogtreecommitdiffstats
path: root/BibTeX.py
diff options
context:
space:
mode:
Diffstat (limited to 'BibTeX.py')
-rw-r--r--BibTeX.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BibTeX.py b/BibTeX.py
index 4aee5e6..1cf4db6 100644
--- a/BibTeX.py
+++ b/BibTeX.py
@@ -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