chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b31e20e
)
update: replace encode('hex') with hexlify
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 4 Jan 2016 17:51:39 +0000
(18:51 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 10 Mar 2016 16:43:37 +0000
(16:43 +0000)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index fdf9653600e8b877ac651bbbf414ed0c68d1c1f3..f1fb8083b1e8625771f396fc91ae1ff7352ccfce 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-400,7
+400,7
@@
def getsig(apkpath):
cert_encoded = encoder.encode(certificates)[4:]
- return hashlib.md5(
cert_encoded.encode('hex'
)).hexdigest()
+ return hashlib.md5(
hexlify(cert_encoded
)).hexdigest()
def scan_apks(apps, apkcache, repodir, knownapks, use_date_from_apk=False):