# HG changeset patch # User Jeff Hammel # Date 1337035410 25200 # Node ID 07dc3f9de6bc66f3eae4ef2c0d836cd3eebd16ea # Parent c412148c8c1e1fcdd33a250722eb00532b8c2efb print the damn thing diff -r c412148c8c1e -r 07dc3f9de6bc bzconsole/api.py --- a/bzconsole/api.py Tue Apr 24 13:46:15 2012 -0700 +++ b/bzconsole/api.py Mon May 14 15:43:30 2012 -0700 @@ -213,10 +213,13 @@ opener = urllib2.build_opener(MyHTTPHandler) opener.open(req) return - + try: response = urllib2.urlopen(req) except Exception, e: + print e + if data: + print data import pdb; pdb.set_trace() the_page = response.read() return json.loads(the_page)