}
add_arg = {"timeout":30} if sys.version_info >= (2,6) else {}
- uo = urllib2.urlopen(config.get("publisher_warranty_url"),
- urllib.urlencode({'arg0': msg, "action": "update",}), **add_arg)
+ arguments = {'arg0': msg, "action": "update",}
+ arguments_raw = urllib.urlencode(arguments)
+ url = config.get("publisher_warranty_url")
+ uo = urllib2.urlopen(url, arguments_raw, **add_arg)
try:
submit_result = uo.read()
finally:
'static_http_url_prefix': None,
'secure_cert_file': 'server.cert',
'secure_pkey_file': 'server.pkey',
- 'publisher_warranty_url': 'http://services.openerp.com/publisher-warranty',
+ 'publisher_warranty_url': 'http://services.openerp.com/publisher-warranty/',
}
self.blacklist_for_save = set(["publisher_warranty_url"])