From: peusterm Date: Fri, 15 Jun 2018 12:46:23 +0000 (+0200) Subject: Fix1: Package upload using Python3 was still broken: X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f0a1e22dd438fa6ac6dc2f09e090382c7d6e2545;hp=f0a1e22dd438fa6ac6dc2f09e090382c7d6e2545;p=osm%2Fosmclient.git 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: peusterm ---