We set debuglevel when creating the yum object.
This commit is contained in:
parent
24cb8d04cf
commit
33a542f60b
@ -38,7 +38,6 @@ class Gather():
|
||||
# Create a yum object to use
|
||||
self.ayum = yum.YumBase()
|
||||
self.ayum.doConfigSetup(fn=config.get('default', 'yumconf'), debuglevel=6, errorlevel=6, root=os.path.join(self.workdir, 'yumroot'))
|
||||
self.ayum.conf.debuglevel = 6
|
||||
self.ayum.cleanMetadata() # clean metadata that might be in the cache from previous runs
|
||||
self.ayum.cleanSqlite() # clean metadata that might be in the cache from previous runs
|
||||
self.ayum.doRepoSetup()
|
||||
|
Loading…
Reference in New Issue
Block a user