From: scarabeus Date: Thu, 28 Oct 2010 21:10:27 +0000 (-0000) Subject: Fix typo, using undefined variable with name as function... X-Git-Tag: gentoolkit-0.3.0_rc11~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f524d8562ce9a78fe5f203a11c3fa622c643608;p=gentoolkit.git Fix typo, using undefined variable with name as function... svn path=/trunk/gentoolkit/; revision=836 --- 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)