git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@364 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2007-08-01 05:51:35 +00:00
parent f8a2249db7
commit 81bbcddf73

View File

@@ -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: