Pardus Linux Security Advisories
This commit is contained in:
@@ -132,6 +132,7 @@ 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