From: Zac Medico Date: Sat, 23 Aug 2008 09:29:22 +0000 (-0000) Subject: Fix the loop in filter_protected() to continue when necessary due to an X-Git-Tag: v2.2_rc9~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3ba32fcb994469362df6fd5c5ae055d5287a7b6;p=portage.git Fix the loop in filter_protected() to continue when necessary due to an error. svn path=/main/trunk/; revision=11458 --- 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