Changed getSource to getSourceRef, missed on upgrade to new source interface

svn: r80
This commit is contained in:
Don Allingham 2001-06-03 18:20:24 +00:00
parent 70880d6729
commit f08f347839

View File

@ -329,7 +329,7 @@ def dump_event_stats(g,event):
g.write("2 DATE %s\n" % latin_to_ansel(event.getSaveDate())) g.write("2 DATE %s\n" % latin_to_ansel(event.getSaveDate()))
if event.getPlace() != "": if event.getPlace() != "":
g.write("2 PLAC %s\n" % latin_to_ansel(event.getPlace())) g.write("2 PLAC %s\n" % latin_to_ansel(event.getPlace()))
source = event.getSource() source = event.getSourceRef()
if source: if source:
base = source.getBase() base = source.getBase()
if base: if base: