From 81bbcddf733b3aaf751427dee4e82ffdcf443cac Mon Sep 17 00:00:00 2001 From: lxnay Date: Wed, 1 Aug 2007 05:51:35 +0000 Subject: [PATCH] whoops git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@364 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- client/equoTools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/equoTools.py b/client/equoTools.py index cdbe04b28..203f79cb3 100644 --- a/client/equoTools.py +++ b/client/equoTools.py @@ -946,7 +946,7 @@ def compareVersions(listA,listB): @input package: filename to check inside the packages directory -> file, checksum of the package -> checksum @output: -1 = should be downloaded, -2 = digest broken (not mandatory), remove & download, 0 = all fine, we don't need to download it ''' -checkNeededDownload(file,checksum = None): +def checkNeededDownload(file,checksum = None): # is the file available if os.path.isfile(etpConst['packagesbindir']+"/"+file) and os.path.isfile(etpConst['packagesbindir']+"/"+file+etpConst['packageshashfileext']): if checksum is None: