py3k port helpers

This commit is contained in:
Ruud
2014-01-20 23:58:54 +01:00
parent 08e2a3a883
commit 29a34fef8c
28 changed files with 58 additions and 44 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ class Plugin(object):
}
method = 'post' if len(data) > 0 or files else 'get'
log.info('Opening url: %s %s, data: %s', (method, url, [x for x in data.iterkeys()] if isinstance(data, dict) else 'with data'))
log.info('Opening url: %s %s, data: %s', (method, url, [x for x in data.keys()] if isinstance(data, dict) else 'with data'))
response = r.request(method, url, verify = False, **kwargs)
data = response.content