summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-23 09:29:22 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-23 09:29:22 +0000
commite3ba32fcb994469362df6fd5c5ae055d5287a7b6 (patch)
tree306db2d81873024ad8ab1429875540fe3c0e4e5a /bin
parente3c5618bb4b6c5ddea3ed2396f9c7e2a8f63f531 (diff)
downloadportage-e3ba32fcb994469362df6fd5c5ae055d5287a7b6.tar.gz
portage-e3ba32fcb994469362df6fd5c5ae055d5287a7b6.tar.bz2
portage-e3ba32fcb994469362df6fd5c5ae055d5287a7b6.zip
Fix the loop in filter_protected() to continue when necessary due to an
error. svn path=/main/trunk/; revision=11458
Diffstat (limited to 'bin')
-rwxr-xr-xbin/portageq2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/portageq b/bin/portageq
index 24291c395..a7a979139 100755
--- 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