7021: pass ArgHandler.user to import_new_db

reapply r22929 from trunk

svn: r22933
This commit is contained in:
Vassilii Khachaturov 2013-08-29 12:44:55 +00:00
parent 0afdb2e361
commit 207ed2434c

View File

@ -363,7 +363,7 @@ class ArgHandler(object):
if not db_path:
# Apparently it is not a database. See if it is a file that
# can be imported.
db_path, title = self.dbman.import_new_db(self.open_gui, None)
db_path, title = self.dbman.import_new_db(self.open_gui, self.user)
if db_path:
# Test if not locked or problematic