Fix a typo from r3611 (file != files).
authorZac Medico <zmedico@gentoo.org>
Fri, 23 Jun 2006 03:35:01 +0000 (03:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 23 Jun 2006 03:35:01 +0000 (03:35 -0000)
svn path=/main/trunk/; revision=3612

pym/portage_util.py

index 0a95453d70a566d3a158c597a9c0b515bd90cc6c..337085ac30a866ccb66a2bbb6efd1e024a6b3016 100644 (file)
@@ -183,7 +183,7 @@ def grablines(myfilename,recursive=0):
        mylines=[]
        if recursive and os.path.isdir(myfilename):
                myfiles = [myfilename+os.path.sep+x for x in os.listdir(myfilename)]
-               myfiles = [file for files in myfiles if not file.startswith(".")]
+               myfiles = [f for f in myfiles if not f.startswith(".")]
                myfiles.sort()
                for f in myfiles:
                        mylines.extend(grablines(f, recursive))