Kaydet (Commit) e1ec146a authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

Pardus Linux Security Advisories

üst b979d52d
......@@ -131,7 +131,8 @@ class File:
localfile = join(transfer_dir, os.path.basename(localfile))
shutil.copy(oldfn, localfile)
if sha1sum:
if sha1sum:
print newsha1
if (pisi.util.sha1_file(localfile) != newsha1):
raise Error(_("File integrity of %s compromised.") % uri)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment