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:
Tim Waugh 2003-11-02 16:41:29 +00:00
parent 4775ead038
commit d3ad386729
3 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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])

View File

@ -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()