[yum-git] cli.py

James Antill james at linux.duke.edu
Wed Feb 6 21:46:07 UTC 2008


 cli.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 291d8831ae9dbd3284567a61757f077735fda797
Author: James Antill <james at and.org>
Date:   Wed Feb 6 16:46:05 2008 -0500

    Clean dbcache (aka. compiled metadata) when the user asks to clean metadata

diff --git a/cli.py b/cli.py
index f8f7bcf..0b6503e 100644
--- a/cli.py
+++ b/cli.py
@@ -753,7 +753,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
         if 'metadata' in userlist:
             self.logger.debug(_('Cleaning up xml metadata'))
             xmlcode, xmlresults = self.cleanMetadata()
-        if 'dbcache' in userlist:
+        if 'dbcache' in userlist or 'metadata' in userlist:
             self.logger.debug(_('Cleaning up database cache'))
             dbcode, dbresults =  self.cleanSqlite()
         if 'plugins' in userlist:



More information about the Yum-cvs-commits mailing list