From e3ba32fcb994469362df6fd5c5ae055d5287a7b6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 23 Aug 2008 09:29:22 +0000 Subject: Fix the loop in filter_protected() to continue when necessary due to an error. svn path=/main/trunk/; revision=11458 --- bin/portageq | 2 ++ 1 file changed, 2 insertions(+) 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 !\n") err.flush() errors += 1 + continue if protect_obj.isprotected(f): protected += 1 -- cgit v1.2.3-1-g7c22