From 524f7f3ac178e7d1710dbb49460df7eb105bf347 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Fri, 9 Nov 2007 16:35:05 +0000 Subject: [PATCH] fix typo and missing classmethod declaration svn path=/main/trunk/; revision=8481 --- pym/portage/sets/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2