projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed35509
)
[FIX] pad: partial revert of global replace of urllib.urlencode() by werkzeug's versi...
author
Olivier Dony
<odo@openerp.com>
Tue, 18 Feb 2014 18:26:43 +0000
(19:26 +0100)
committer
Olivier Dony
<odo@openerp.com>
Tue, 18 Feb 2014 18:26:43 +0000
(19:26 +0100)
The API of werkzeug's version does not accept a boolean
as the second argument, so this crashes.
bzr revid: odo@openerp.com-
20140218182643
-a13mvcmsav195dfx
addons/pad/py_etherpad/__init__.py
patch
|
blob
|
history
diff --git
a/addons/pad/py_etherpad/__init__.py
b/addons/pad/py_etherpad/__init__.py
index
fce51d3
..
0db607f
100644
(file)
--- a/
addons/pad/py_etherpad/__init__.py
+++ b/
addons/pad/py_etherpad/__init__.py
@@
-1,7
+1,7
@@
"""Module to talk to EtherpadLite API."""
import json
-import werkzeug.urls
+import urllib
import urllib2
@@
-32,7
+32,7
@@
class EtherpadLiteClient:
params = arguments or {}
params.update({'apikey': self.apiKey})
- data = werkzeug.url_encode(params, True)
+ data = urllib.urlencode(params, True)
try:
opener = urllib2.build_opener()