diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index caf17f652..c3bab6f74 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/ArgHandler.py b/gramps2/src/ArgHandler.py index 48549d520..538810c99 100644 --- a/gramps2/src/ArgHandler.py +++ b/gramps2/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/gramps2/src/DbPrompter.py b/gramps2/src/DbPrompter.py index a98a383cd..6298240c4 100644 --- a/gramps2/src/DbPrompter.py +++ b/gramps2/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()