Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoolkit r836 - trunk/gentoolkit/pym/gentoolkit/eshowkw
Date: Thu, 28 Oct 2010 21:10:31
Message-Id: 20101028211027.9EF3B20051@flycatcher.gentoo.org
1 Author: scarabeus
2 Date: 2010-10-28 21:10:27 +0000 (Thu, 28 Oct 2010)
3 New Revision: 836
4
5 Modified:
6 trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py
7 Log:
8 Fix typo, using undefined variable with name as function...
9
10 Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py
11 ===================================================================
12 --- trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-10-28 21:07:58 UTC (rev 835)
13 +++ trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-10-28 21:10:27 UTC (rev 836)
14 @@ -108,7 +108,7 @@
15 package=os.path.basename(currdir)
16 # check if there are actualy some ebuilds
17 ebuilds = ['%s' % x for x in os.listdir(currdir)
18 - if fnmatch.fnmatch(file, '*.ebuild')]
19 + if fnmatch.fnmatch(x, '*.ebuild')]
20 if len(ebuilds) <= 0:
21 msg_err = 'No ebuilds at "%s"' % currdir
22 raise SystemExit(msg_err)