aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2008-06-24 00:19:46 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2008-06-24 00:19:46 +0000
commit8f0f626970aa1eacafece10875bae78c55d29ad3 (patch)
treed20e45eeb6411359bb84a359e5956fd898a7854f
parent4c556ed6d07fbebf175f8e009c4ceb166f42fb6d (diff)
downloadmgarepo-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
-rw-r--r--RepSys/binrepo.py2
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)