projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c5618
)
Fix the loop in filter_protected() to continue when necessary due to an
author
Zac Medico
<zmedico@gentoo.org>
Sat, 23 Aug 2008 09:29:22 +0000
(09:29 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 23 Aug 2008 09:29:22 +0000
(09:29 -0000)
error.
svn path=/main/trunk/; revision=11458
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 24291c395526e7faa98fecd3413572c4b66c698b..a7a97913910985e24b66d3d52961d6b2e9cd8622 100755
(executable)
--- a/
bin/portageq
+++ b/
bin/portageq
@@
-299,6
+299,7
@@
def filter_protected(argv):
err.write("ERROR: cwd does not exist!\n")
err.flush()
errors += 1
+ continue
f = os.path.join(cwd, f)
f = portage.normalize_path(f)
@@
-306,6
+307,7
@@
def filter_protected(argv):
err.write("ERROR: file paths must begin with <root>!\n")
err.flush()
errors += 1
+ continue
if protect_obj.isprotected(f):
protected += 1