2003-11-02 Tim Waugh <twaugh@redhat.com>
* src/ArgHandler.py, src/DbPrompter,py: clear_database takes no additional arguments. svn: r2312
This commit is contained in:
parent
4775ead038
commit
d3ad386729
@ -1,5 +1,8 @@
|
||||
2003-11-02 Tim Waugh <twaugh@redhat.com>
|
||||
|
||||
* src/ArgHandler.py, src/DbPrompter,py: clear_database takes no
|
||||
additional arguments.
|
||||
|
||||
* src/plugins/WriteGedcom.py (GedcomWriter.__init__): Fixed
|
||||
default filename for export.
|
||||
|
||||
|
@ -143,7 +143,7 @@ class ArgHandler:
|
||||
for fn in files:
|
||||
if os.path.isfile(os.path.join(self.impdir_path,fn)):
|
||||
os.remove(os.path.join(self.impdir_path,fn))
|
||||
self.parent.clear_database(0)
|
||||
self.parent.clear_database()
|
||||
self.parent.db.setSavePath(self.impdir_path)
|
||||
for imp in imports:
|
||||
print "Importing: file %s, format %s." % (imp[0],imp[1])
|
||||
|
@ -72,7 +72,7 @@ class DbPrompter:
|
||||
|
||||
def open_ok_clicked(self,obj):
|
||||
if self.new.get_active():
|
||||
self.db.clear_database(0)
|
||||
self.db.clear_database()
|
||||
self.save_as_activate()
|
||||
else:
|
||||
self.open_activate()
|
||||
|
Loading…
Reference in New Issue
Block a user