Fix of issue 3007.

svn: r12622
This commit is contained in:
Peter Landgren 2009-06-03 18:40:10 +00:00
parent 54dba4fc09
commit 581b33524e

View File

@ -2102,7 +2102,9 @@ def write_lock_file(name):
except: except:
user = os.environ.get('USER') user = os.environ.get('USER')
text = "%s@%s" % (user, host) text = "%s@%s" % (user, host)
f.write(_("Locked by %s") % text) # Save only the username and host, so the massage can be
# printed with correct locale in DbManager.py when a lock is found
f.write(text)
f.close() f.close()
if __name__ == "__main__": if __name__ == "__main__":