diff options
Diffstat (limited to 'src/software/test/rpmcache.py')
-rw-r--r-- | src/software/test/rpmcache.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/software/test/rpmcache.py b/src/software/test/rpmcache.py index 6e61271..18b4779 100644 --- a/src/software/test/rpmcache.py +++ b/src/software/test/rpmcache.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -495,7 +495,7 @@ def get_pkg_database( where safe is a list of instances of Package, representing installed software, these should be used for not-dangerous tests; - both older + both older dangerous is a list of instances of Package of selected packages, that are not installed, but available; instances contain both newer and older version of package @@ -531,7 +531,7 @@ def get_pkg_database( dangerous_pkgs = make_dangerous_list(installed) safe_pkgs = make_safe_list(installed, exclude=set( pkg.name for pkg in dangerous_pkgs)) - + if use_cache: repolist = _get_repo_list() if repolist in (None, []) else repolist _download_dangerous(repolist, dangerous_pkgs, cache_dir) |