Fixed coding error when looking at issue 4034.
svn: r15534
This commit is contained in:
parent
10bd447ed5
commit
e3f9f97864
@ -331,7 +331,8 @@ def make_dbdir(dbdir):
|
||||
if not os.path.isdir(dbdir):
|
||||
os.makedirs(dbdir)
|
||||
except (IOError, OSError), msg:
|
||||
LOG.error(_("Could not make database directory: ") + str(msg))
|
||||
msg = unicode(str(msg), sys.getfilesystemencoding())
|
||||
LOG.error(_("Could not make database directory: ") + msg)
|
||||
|
||||
def find_next_db_name(name_list):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user