From 5f524d8562ce9a78fe5f203a11c3fa622c643608 Mon Sep 17 00:00:00 2001 From: scarabeus Date: Thu, 28 Oct 2010 21:10:27 +0000 Subject: [PATCH] Fix typo, using undefined variable with name as function... svn path=/trunk/gentoolkit/; revision=836 --- pym/gentoolkit/eshowkw/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index 8a89a9c..672996c 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -108,7 +108,7 @@ def main(argv): package=os.path.basename(currdir) # check if there are actualy some ebuilds ebuilds = ['%s' % x for x in os.listdir(currdir) - if fnmatch.fnmatch(file, '*.ebuild')] + if fnmatch.fnmatch(x, '*.ebuild')] if len(ebuilds) <= 0: msg_err = 'No ebuilds at "%s"' % currdir raise SystemExit(msg_err) -- 2.26.2