projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c76d0fc
)
Show the path of the lockfile when chown fails. Thanks to Jeremy Olexa
author
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:02:28 +0000
(18:02 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 29 Jan 2010 18:02:28 +0000
(18:02 -0000)
<darkside@g.o> for reporting.
svn path=/main/trunk/; revision=15220
pym/portage/locks.py
patch
|
blob
|
history
diff --git
a/pym/portage/locks.py
b/pym/portage/locks.py
index cdbbf03c3b87418bbc7488098002372e483e5b1d..f024fe5420b0f93b1b6c5db6d81c370aace476fd 100644
(file)
--- a/
pym/portage/locks.py
+++ b/
pym/portage/locks.py
@@
-89,8
+89,8
@@
def lockfile(mypath, wantnewlockfile=0, unlinkfile=0,
unlinkfile=unlinkfile, waiting_msg=waiting_msg,
flags=flags)
else:
- writemsg(_("Cannot chown a lockfile
. This could "
-
"cause inconvenience later.\n")
)
+ writemsg(_("Cannot chown a lockfile
: '%s'\n") % \
+
lockfilename, noiselevel=-1
)
finally:
os.umask(old_mask)