From: Marius Mauch Date: Fri, 9 Nov 2007 16:35:05 +0000 (-0000) Subject: fix typo and missing classmethod declaration X-Git-Tag: v2.2_pre1~411 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=524f7f3ac178e7d1710dbb49460df7eb105bf347;p=portage.git fix typo and missing classmethod declaration svn path=/main/trunk/; revision=8481 --- 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)