Heta oldu...
This commit is contained in:
@@ -132,7 +132,6 @@ class File:
|
|||||||
shutil.copy(oldfn, localfile)
|
shutil.copy(oldfn, localfile)
|
||||||
|
|
||||||
if sha1sum:
|
if sha1sum:
|
||||||
print newsha1
|
|
||||||
if (pisi.util.sha1_file(localfile) != newsha1):
|
if (pisi.util.sha1_file(localfile) != newsha1):
|
||||||
raise Error(_("File integrity of %s compromised.") % uri)
|
raise Error(_("File integrity of %s compromised.") % uri)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user