From: Marius Mauch Date: Thu, 11 Jan 2007 09:07:22 +0000 (-0000) Subject: continue is only for loops X-Git-Tag: v2.1.2~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e626a6c4bdaefc87737a77814efd186fbf578626;p=portage.git continue is only for loops svn path=/main/trunk/; revision=5550 --- 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: