summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-11-09 16:35:05 +0000
committerMarius Mauch <genone@gentoo.org>2007-11-09 16:35:05 +0000
commit524f7f3ac178e7d1710dbb49460df7eb105bf347 (patch)
tree74332ec69e434c8346fef28fe2276063d699d895
parent47efccdc281786f392c83e8b9ee1e2344d80b942 (diff)
downloadportage-524f7f3ac178e7d1710dbb49460df7eb105bf347.tar.gz
portage-524f7f3ac178e7d1710dbb49460df7eb105bf347.tar.bz2
portage-524f7f3ac178e7d1710dbb49460df7eb105bf347.zip
fix typo and missing classmethod declaration
svn path=/main/trunk/; revision=8481
-rw-r--r--pym/portage/sets/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/sets/shell.py b/pym/portage/sets/shell.py
index 286ad31da..ba1b2422f 100644
--- a/pym/portage/sets/shell.py
+++ b/pym/portage/sets/shell.py
@@ -38,6 +38,7 @@ class CommandOutputSet(PackageSet):
self._setAtoms(text.split("\n"))
def singleBuilder(self, options, settings, trees):
- if not command in options:
+ if not "command" in options:
raise SetConfigError("no command specified")
return CommandOutputSet(options["command"])
+ singleBuilder = classmethod(singleBuilder)