projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bca0b8
)
Fix the PermissionDenied message for color.map.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 26 Jun 2008 19:34:02 +0000
(19:34 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 26 Jun 2008 19:34:02 +0000
(19:34 -0000)
svn path=/main/trunk/; revision=10805
pym/portage/output.py
patch
|
blob
|
history
diff --git
a/pym/portage/output.py
b/pym/portage/output.py
index a7a500cd4f120efcf208cc8a87a85c79819c83a9..45def2b384c23fac24f15397b5ecd9f7e0ce0547 100644
(file)
--- a/
pym/portage/output.py
+++ b/
pym/portage/output.py
@@
-231,8
+231,11
@@
try:
parse_color_map(onerror=lambda e: writemsg("%s\n" % str(e), noiselevel=-1))
except FileNotFound:
pass
+except PermissionDenied, e:
+ writemsg("Permission denied: '%s'\n" % str(e), noiselevel=-1)
+ del e
except PortageException, e:
- writemsg("%s\n" % str(e))
+ writemsg("%s\n" % str(e)
, noiselevel=-1
)
del e
def nc_len(mystr):