projects
/
~helmut
/
debian-dedup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420804c
)
autoimport: fix hash check
author
Helmut Grohne
<helmut@subdivi.de>
Thu, 9 Jun 2016 20:44:04 +0000
(22:44 +0200)
committer
Helmut Grohne
<helmut@subdivi.de>
Thu, 9 Jun 2016 20:44:04 +0000
(22:44 +0200)
Fixes:
2f12a6e2f426
("autoimport: add option to skip hash checking")
autoimport.py
patch
|
blob
|
history
diff --git
a/autoimport.py
b/autoimport.py
index
5fb0659
..
c00dc4d
100755
(executable)
--- a/
autoimport.py
+++ b/
autoimport.py
@@
-36,7
+36,7
@@
def process_http(pkgs, url, addhash=True):
inst = dict(version=pkg["Version"],
filename="%s/%s" % (url, pkg["Filename"]))
if addhash:
- inst["sha
ring
"] = pkg["SHA256"]
+ inst["sha
256hash
"] = pkg["SHA256"]
pkgs[name] = inst
def process_file(pkgs, filename):