projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a246a
)
depclean: warn for each unmatched argument
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 May 2011 22:53:21 +0000
(15:53 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 May 2011 22:53:21 +0000
(15:53 -0700)
This output is similar to that produced by unmerge().
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index 9bc2c2ba3cfb6848a5c67848131cfc39edff48e9..f6b6928f3921308fc6ff86fb8466549afd57c2d2 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-563,7
+563,10
@@
def action_depclean(settings, trees, ldpath_mtimes,
for x in args_set:
if vardb.match(x):
matched_packages = True
- break
+ else:
+ writemsg_level("--- Couldn't find '%s' to %s.\n" % \
+ (x.replace("null/", ""), action),
+ level=logging.WARN, noiselevel=-1)
if not matched_packages:
writemsg_level(">>> No packages selected for removal by %s\n" % \
action)