projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix1: Package upload using Python3 was still broken:
[osm/osmclient.git]
/
osmclient
/
sol005
/
http.py
diff --git
a/osmclient/sol005/http.py
b/osmclient/sol005/http.py
index
7988d89
..
867db2d
100644
(file)
--- a/
osmclient/sol005/http.py
+++ b/
osmclient/sol005/http.py
@@
-74,7
+74,7
@@
class Http(http.Http):
(pycurl.FORM_FILE,
formfile[1])))])
elif filename is not None:
- with open(filename, 'r') as stream:
+ with open(filename, 'r
b
') as stream:
postdata=stream.read()
curl_cmd.setopt(pycurl.POSTFIELDS, postdata)