We set debuglevel when creating the yum object.

This commit is contained in:
Jesse Keating 2007-08-08 10:25:51 -04:00 committed by Jesse Keating
parent 24cb8d04cf
commit 33a542f60b

View File

@ -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()