From 581b33524eb5ea80ba237402e2bde448da81e6e2 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 3 Jun 2009 18:40:10 +0000 Subject: [PATCH] Fix of issue 3007. svn: r12622 --- src/gen/db/dbdir.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gen/db/dbdir.py b/src/gen/db/dbdir.py index 80666cf4f..f614a66ec 100644 --- a/src/gen/db/dbdir.py +++ b/src/gen/db/dbdir.py @@ -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__":