Commit f0a1e22d authored by peusterm's avatar peusterm
Browse files

Fix1: Package upload using Python3 was still broken:


Loading file contents using 'r' does not work in Python 3
and results in an encoding error. Replaced with 'rb'.

Fix2: Be more robust when MIME types are detected:
Treat 'application/x-gzip' as 'application/gzip'.
(This will also allow to use osmclient on OS X)

Change-Id: I430b2fae2c275803120a6815d01bb26bff26ebdc
Signed-off-by: default avatarpeusterm <manuel.peuster@upb.de>
parent bd1e05f5
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