Fixed DATE generation in a SOUR statement

svn: r285
This commit is contained in:
Don Allingham 2001-08-03 03:46:36 +00:00
parent b6368c5f0c
commit 487fdbd572

View File

@ -345,7 +345,7 @@ def write_source_ref(g,level,ref):
if ref_text != "":
write_long_text(g,"TEXT",level+1,ref_text)
if ref.getDate().getDate():
g.write("%d DATE %s\n",ref.getDate().getSaveDate())
g.write("%d DATE %s\n",level+1,ref.getDate().getSaveDate())
if ref.getComments() != "":
write_long_text(g,"NOTE",level+1,ref.getComments())