{"issue":{"user":{"id":168470,"login":"pumazi","url":"https://api.github.com/users/pumazi","avatar_url":"https://secure.gravatar.com/avatar/0c30f4f61170dfe7439067417c25cb7b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0c30f4f61170dfe7439067417c25cb7b"},"milestone":null,"created_at":"2011-12-22T19:25:14Z","title":"7 - Missing import masks exceptions in httplib2_intercept ","labels":[],"state":"closed","updated_at":"2011-12-22T19:25:15Z","id":2640865,"html_url":"https://github.com/pumazi/wsgi_intercept2/issues/7","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-22T19:25:15Z","body":"<pre>\n<b>What steps will reproduce the problem?</b>\n1. Run the attached traceback_import_bug.py\r\n\r\n<b>What is the expected output? What do you see instead?</b>\n\r\nExpect an error because I gave httplib2 a bogus hostname.  Instead I get:\r\n\r\nTraceback (most recent call last):\r\n  File &quot;traceback_repro.py&quot;, line 4, in &lt;module&gt;\r\n    httplib2_intercept.HTTP_WSGIInterceptorWithTimeout(&quot;123&quot;).connect()\r\n  File\r\n&quot;/Users/grb/temp/wsgi-intercept/wsgi_intercept/httplib2_intercept.py&quot;, line\r\n39, in connect\r\n    traceback.print_exc()\r\nNameError: global name 'traceback' is not defined\r\n\r\n<b>What version of the product are you using? On what operating system?</b>\n\r\nsvn rev 34\r\n\r\n<b>Please provide any additional information below.</b>\n\r\nThis only happens when debuglevel is non-zero, which is probably why it\r\nlived so long.  The attached one-line patch fixes it.\n</pre></br>Original link: http://code.google.com/p/wsgi-intercept/issues/detail?id=7","number":7,"url":"https://api.github.com/repos/pumazi/wsgi_intercept2/issues/7","comments":0,"assignee":null},"action":"closed"}