Fixed coding error when looking at issue 4034.
svn: r15535
This commit is contained in:
parent
69df521213
commit
308d9e2142
@ -330,7 +330,8 @@ def make_dbdir(dbdir):
|
|||||||
if not os.path.isdir(dbdir):
|
if not os.path.isdir(dbdir):
|
||||||
os.makedirs(dbdir)
|
os.makedirs(dbdir)
|
||||||
except (IOError, OSError), msg:
|
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):
|
def find_next_db_name(name_list):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user