[FIX] pad: partial revert of global replace of urllib.urlencode() by werkzeug's version, this one was useful to handle sequences
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
This commit is contained in:
parent
ed355097fe
commit
723b083cf5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue