[yum-commits] Branch 'yum-3_2_X' - utils.py
skvidal at osuosl.org
skvidal at osuosl.org
Tue Jan 12 19:42:51 UTC 2010
utils.py | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 1af3a46b6ae33b5683e5344a3da025f6fe5403a2
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Jan 12 14:42:34 2010 -0500
add basecmd and extcmds to utils base so the yumutils have those attributes
for doTransaction() and others to molest:
https://bugzilla.redhat.com/show_bug.cgi?id=550010
diff --git a/utils.py b/utils.py
index 3ef1e40..dc5b122 100644
--- a/utils.py
+++ b/utils.py
@@ -203,6 +203,9 @@ class YumUtilBase(YumBaseCli):
# Now parse the command line for real and
# apply some of the options to self.conf
(opts, self.cmds) = self._parser.setupYumConfig()
+ self.basecmd = self.cmds[0] # our base command
+ self.extcmds = self.cmds[1:] # out extended arguments/commands
+
return opts
def doUtilYumSetup(self):
More information about the Yum-commits
mailing list