Clean the metadata out when creating the object

This commit is contained in:
jkeating@localhost.localdomain 2006-10-16 23:11:58 -04:00 committed by Jesse Keating
parent 88c82fcb4d
commit ac953cfae4

View File

@ -21,6 +21,7 @@ class Gather(yum.YumBase):
# Create a yum object to use
yum.YumBase.__init__(self)
self.doConfigSetup(fn=opts.yumconf)
self.cleanMetadata() # clean metadata that might be in the cache from previous runs
self.doRepoSetup()
arches = yum.rpmUtils.arch.getArchList(opts.arch)
self.doSackSetup(arches)