[Yum-devel] [PATCH 2/2] Nuke _check_uncompressed_db()

James Antill james at fedoraproject.org
Thu Nov 8 16:43:19 UTC 2012


On Thu, 2012-11-08 at 16:45 +0100, Zdeněk Pavlas wrote:
> ---
>  yum/yumRepo.py |   16 +---------------
>  1 files changed, 1 insertions(+), 15 deletions(-)
> 
> diff --git a/yum/yumRepo.py b/yum/yumRepo.py
> index 4eb4697..9c8cf64 100644
> --- a/yum/yumRepo.py
> +++ b/yum/yumRepo.py
> @@ -185,11 +185,7 @@ class YumPackageSack(packageSack.PackageSack):
>                  #  Use gen decompression on DB files. Keeps exactly what we
>                  # downloaded in the download dir.
>  
> -                # Backwards compat. ... try the old uncompressed version first.

 NAK. What is the reasoning here?
 As it says, this was for backwards comapt. / migration. Eg. when you
have primary.sqlite downloaded already the user won't be happy if you
decide to redownload it.



More information about the Yum-devel mailing list