Commit cb6c9930 authored by Tim Lauridisen's avatar Tim Lauridisen

Changes to make it work with the new yum API (2.9.x)

parent fbf69558
......@@ -33,8 +33,6 @@ node[style="filled"];
"""
class yumQuiet(yum.YumBase):
def log(self, level, msg):
pass
def doDot(self, header):
maxdeps = 0
......@@ -106,7 +104,7 @@ if __name__ == '__main__':
(opts, args) = parser.parse_args()
my = yumQuiet()
my.doConfigSetup(opts.conffile)
my.doConfigSetup(opts.conffile, init_plugins=False)
cachedir = getCacheDir()
my.repos.setCacheDir(cachedir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment