From d3ad3867298916019a485295897fadbdf34ea91c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 2 Nov 2003 16:41:29 +0000 Subject: [PATCH] 2003-11-02 Tim Waugh * src/ArgHandler.py, src/DbPrompter,py: clear_database takes no additional arguments. svn: r2312 --- ChangeLog | 3 +++ src/ArgHandler.py | 2 +- src/DbPrompter.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index caf17f652..c3bab6f74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-11-02 Tim Waugh + * src/ArgHandler.py, src/DbPrompter,py: clear_database takes no + additional arguments. + * src/plugins/WriteGedcom.py (GedcomWriter.__init__): Fixed default filename for export. diff --git a/src/ArgHandler.py b/src/ArgHandler.py index 48549d520..538810c99 100644 --- a/src/ArgHandler.py +++ b/src/ArgHandler.py @@ -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]) diff --git a/src/DbPrompter.py b/src/DbPrompter.py index a98a383cd..6298240c4 100644 --- a/src/DbPrompter.py +++ b/src/DbPrompter.py @@ -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()