* src/ArgHandler.py, src/DbLoader.py: Print out more precise error messages when trying to open gpkg or geneweb files.
svn: r7953
This commit is contained in:
@ -153,6 +153,11 @@ class ArgHandler:
|
||||
format = 'gramps-xml'
|
||||
elif ftype == const.app_gramps:
|
||||
format = 'grdb'
|
||||
elif ftype in [const.app_gramps_package,const.app_geneweb]:
|
||||
print 'Unsupported type: "%s" for input file: %s' \
|
||||
% (ftype,fname)
|
||||
print 'Please create a new GRAMPS database and import the file.'
|
||||
continue
|
||||
else:
|
||||
print 'Unrecognized type: "%s" for input file: %s' \
|
||||
% (ftype,fname)
|
||||
|
Reference in New Issue
Block a user