diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-06-24 00:19:46 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-06-24 00:19:46 +0000 |
commit | 8f0f626970aa1eacafece10875bae78c55d29ad3 (patch) | |
tree | d20e45eeb6411359bb84a359e5956fd898a7854f /RepSys | |
parent | 4c556ed6d07fbebf175f8e009c4ceb166f42fb6d (diff) | |
download | mgarepo-8f0f626970aa1eacafece10875bae78c55d29ad3.tar mgarepo-8f0f626970aa1eacafece10875bae78c55d29ad3.tar.gz mgarepo-8f0f626970aa1eacafece10875bae78c55d29ad3.tar.bz2 mgarepo-8f0f626970aa1eacafece10875bae78c55d29ad3.tar.xz mgarepo-8f0f626970aa1eacafece10875bae78c55d29ad3.zip |
Only show the "checking files" message when hash checking is enabled
Pointed by spuk
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/binrepo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py index 54ca967..2f80b82 100644 --- a/RepSys/binrepo.py +++ b/RepSys/binrepo.py @@ -414,8 +414,8 @@ def download(target, url=None, check=True): raise Error, "file not uploaded yet (not found in "\ "sources file): %s" % target copy(sources=paths, sourcehost=host, dest=targetdir) - yield "Checking files" if check: + yield "Checking files" for path in paths: name = os.path.basename(path) bpath = os.path.join(targetdir, name) |