summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-01-11 09:07:22 +0000
committerMarius Mauch <genone@gentoo.org>2007-01-11 09:07:22 +0000
commite626a6c4bdaefc87737a77814efd186fbf578626 (patch)
tree891603f48087218850999dcf8e43dc821fbbc6c2
parentf6d502561b8182aefa8cf6ab50472c1828081d85 (diff)
downloadportage-e626a6c4bdaefc87737a77814efd186fbf578626.tar.gz
portage-e626a6c4bdaefc87737a77814efd186fbf578626.tar.bz2
portage-e626a6c4bdaefc87737a77814efd186fbf578626.zip
continue is only for loops
svn path=/main/trunk/; revision=5550
-rw-r--r--pym/portage_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_util.py b/pym/portage_util.py
index c7455a309..2d92fc048 100644
--- a/pym/portage_util.py
+++ b/pym/portage_util.py
@@ -229,7 +229,7 @@ def grablines(myfilename,recursive=0):
mylines=[]
if recursive and os.path.isdir(myfilename):
if myfilename in ["RCS", "CVS", "SCCS"]:
- continue
+ return mylines
dirlist = os.listdir(myfilename)
dirlist.sort()
for f in dirlist: