From 8f0f626970aa1eacafece10875bae78c55d29ad3 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Tue, 24 Jun 2008 00:19:46 +0000 Subject: Only show the "checking files" message when hash checking is enabled Pointed by spuk --- RepSys/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RepSys') 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) -- cgit v1.2.1