From 17ce1638d2182a19215b199fbfeaa8f8c68dffbb Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Mon, 18 Feb 2008 12:31:31 +0000 Subject: [PATCH] 2008-02-18 Raphael Ackermann * src/GrampsDbUtils/_GedcomParse.py: remove encode_filename() as filename is already unicode encoded. * src/GrampsDbUtils/_GrampsDbWRFactories.py: doc fix * src/GrampsDbUtils/_ReadGedcom.py: doc and pylint fixes * src/GrampsDbUtils/importdbdir.py: pep8 fix ''' --> """ * src/ArgHandler.py: in method cl_import(self, filename, format): add call filename = Utils.get_unicode_path(filename) before calling ReadGedcom._import2(...,filename,...). +pylint fixes * src/DbLoader.py: doc fix. change variable choose to choose_db_dialog svn: r10047 --- ChangeLog | 11 +++++ src/ArgHandler.py | 60 +++++++++++------------ src/DbLoader.py | 48 +++++++++--------- src/GrampsDbUtils/_GedcomParse.py | 10 +--- src/GrampsDbUtils/_GrampsDbWRFactories.py | 4 +- src/GrampsDbUtils/_ReadGedcom.py | 8 +-- src/GrampsDbUtils/importdbdir.py | 4 +- 7 files changed, 74 insertions(+), 71 deletions(-) diff --git a/ChangeLog b/ChangeLog index d232c8932..208af7b29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2008-02-18 Raphael Ackermann + * src/GrampsDbUtils/_GedcomParse.py: remove encode_filename() as filename + is already unicode encoded. + * src/GrampsDbUtils/_GrampsDbWRFactories.py: doc fix + * src/GrampsDbUtils/_ReadGedcom.py: doc and pylint fixes + * src/GrampsDbUtils/importdbdir.py: pep8 fix ''' --> """ + * src/ArgHandler.py: in method cl_import(self, filename, format): add call + filename = Utils.get_unicode_path(filename) before calling + ReadGedcom._import2(...,filename,...). +pylint fixes + * src/DbLoader.py: doc fix. change variable choose to choose_db_dialog + 2008-02-18 Raphael Ackermann * src/DataViews/PersonView.py * src/ViewManager.py diff --git a/src/ArgHandler.py b/src/ArgHandler.py index 0ee175e73..364cc60e9 100644 --- a/src/ArgHandler.py +++ b/src/ArgHandler.py @@ -224,8 +224,8 @@ class ArgHandler: print "Input file does not exist: %s" % fullpath continue elif os.path.isdir(fullpath): - ftype = const.APP_FAMTREE - fname = fullpath + ftype = const.APP_FAMTREE + fname = fullpath elif opt_ix