BigW Consortium Gitlab

Commit d30429ce by Alek Storm

Replace 'print' statement with call to logger

parent 1d3e87ae
......@@ -299,7 +299,7 @@ class API(object):
def _get_url(self, url, http_method, content_type, body):
print "_get_url: url = %r" % url
self.log("API._get_url: url = %r" % url)
with closing(urllib2.urlopen(url)) as f:
return f.read()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment