lockfile: remove newline from ebegin message
authorZac Medico <zmedico@gentoo.org>
Fri, 22 Mar 2013 15:42:23 +0000 (08:42 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 22 Mar 2013 15:42:23 +0000 (08:42 -0700)
pym/portage/locks.py

index 4b860acc84a6e69cacd19c86dbf068a5e243649e..71bce305ac911495ad52ce06c3898d4d9227a661 100644 (file)
@@ -163,7 +163,7 @@ def lockfile(mypath, wantnewlockfile=0, unlinkfile=0,
                                if isinstance(mypath, int):
                                        waiting_msg = _("waiting for lock on fd %i") % myfd
                                else:
-                                       waiting_msg = _("waiting for lock on %s\n") % lockfilename
+                                       waiting_msg = _("waiting for lock on %s") % lockfilename
                        if out is not None:
                                out.ebegin(waiting_msg)
                        # try for the exclusive lock now.