summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-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)