From 73a4ff004f88e5c45a147152e5064a6a037e90bb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 23 Jun 2006 03:35:01 +0000 Subject: Fix a typo from r3611 (file != files). svn path=/main/trunk/; revision=3612 --- pym/portage_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage_util.py b/pym/portage_util.py index 0a95453d7..337085ac3 100644 --- a/pym/portage_util.py +++ b/pym/portage_util.py @@ -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)) -- cgit v1.2.3-1-g7c22