[yum-git] cli.py
seth vidal
skvidal at fedoraproject.org
Wed Feb 6 21:48:32 UTC 2008
On Wed, 2008-02-06 at 16:46 -0500, James Antill wrote:
> 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:
why didn't you just change cleanMetadata() in YumBase to include .sqlite
and .sqlite.bz2 files in its list?
-sv
More information about the Yum-cvs-commits
mailing list