diff options
author | Helmut Grohne <helmut@subdivi.de> | 2016-06-09 22:44:04 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2016-06-09 22:44:04 +0200 |
commit | 1d346e1ed93a9b9816ba0b1fde0804c4612664ab (patch) | |
tree | cae7bc3e464bd16b21a6daa894074d391aebcd44 | |
parent | 420804c25797add9689bacbd3db138a92a623c8e (diff) | |
download | debian-dedup-1d346e1ed93a9b9816ba0b1fde0804c4612664ab.tar.gz |
autoimport: fix hash check
Fixes: 2f12a6e2f426 ("autoimport: add option to skip hash checking")
-rwxr-xr-x | autoimport.py | 2 |
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): |