Fix of issue 3007.
svn: r12622
This commit is contained in:
parent
54dba4fc09
commit
581b33524e
@ -2102,7 +2102,9 @@ def write_lock_file(name):
|
||||
except:
|
||||
user = os.environ.get('USER')
|
||||
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()
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user