less debug

This commit is contained in:
j 2011-08-10 14:42:09 +02:00
parent 936ed5b74f
commit a6afdc1559
1 changed files with 2 additions and 2 deletions

View File

@ -377,8 +377,8 @@ class API(object):
body = str(form)
request.add_header('Content-type', form.get_content_type())
request.add_header('Content-length', len(body))
print 'content-length', len(body), type(body)
print 'Content-type', form.get_content_type()
#print 'Content-length', len(body), type(body)
#print 'Content-type', form.get_content_type()
request.add_data(body)
result = self._opener.open(request).read().strip()
return json.loads(result)