summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2011-05-08 10:08:49 (GMT)
committerRichard Hughes <richard@hughsie.com>2012-05-30 15:48:47 (GMT)
commit07f3924c27ab80e3992b2ae3bea9a292c82e3bf8 (patch)
treeaec64d683ee8d09723c3acd39d9e42454ed16bea
parent29846bcde78df7905198a284fe87e4b006008347 (diff)
downloadpreupgrade-master.zip
preupgrade-master.tar.gz
preupgrade-master.tar.xz
Really fix preupgrade-cli after a yum API changeHEADmaster
Fixes #66 (RH#615640) with patch from daniel@wilyness.com
-rwxr-xr-xpreupgrade-cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/preupgrade-cli.py b/preupgrade-cli.py
index 67683fe..f6a4dfa 100755
--- a/preupgrade-cli.py
+++ b/preupgrade-cli.py
@@ -44,11 +44,12 @@ from yum.misc import setup_locale
from optparse import OptionValueError
setup_locale(override_codecs=False)
-class PreUpgradeCli(PreUpgrade, YumUtilBase):
+class PreUpgradeCli(PreUpgrade, YumUtilBase, YumBaseCli):
NAME = 'PreUpgrade'
USAGE = _('usage: preupgrade [options] release')
def __init__(self):
+ YumBaseCli.__init__(self)
PreUpgrade.__init__(self)
YumUtilBase.__init__(self,
PreUpgradeCli.NAME,