summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2016-06-09 22:44:04 +0200
committerHelmut Grohne <helmut@subdivi.de>2016-06-09 22:44:04 +0200
commit1d346e1ed93a9b9816ba0b1fde0804c4612664ab (patch)
treecae7bc3e464bd16b21a6daa894074d391aebcd44
parent420804c25797add9689bacbd3db138a92a623c8e (diff)
downloaddebian-dedup-1d346e1ed93a9b9816ba0b1fde0804c4612664ab.tar.gz
autoimport: fix hash check
Fixes: 2f12a6e2f426 ("autoimport: add option to skip hash checking")
-rwxr-xr-xautoimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoimport.py b/autoimport.py
index 5fb0659..c00dc4d 100755
--- 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["sharing"] = pkg["SHA256"]
+ inst["sha256hash"] = pkg["SHA256"]
pkgs[name] = inst
def process_file(pkgs, filename):