On Wed, Aug 24, 2011 at 11:04 PM, James Antill <[email protected]> wrote: > --- > yum/yumRepo.py | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/yum/yumRepo.py b/yum/yumRepo.py > index 91b7dde..a681370 100644 > --- a/yum/yumRepo.py > +++ b/yum/yumRepo.py > @@ -1256,6 +1256,11 @@ Insufficient space in download directory %s > > # if we have a 'fresh' repomd.xml then update the cookie > self.setMetadataCookie() > + # Also remove any files that are generated ... this can be > slightly > + # non-optimal, in the case where we have to revert, but it's just > + # sooo much easier to deal with it here. > + for fname in misc.getFileList(self.cachedir + '/gen', '', []): > + misc.unlink_f(fname) > > if self._repoXML is None: > self._repoXML = self._parseRepoXML(result) > -- > 1.7.6 > > _______________________________________________ > Yum-devel mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum-devel >
ACK _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
