FogBugz » FogBugzPy A Python wrapper for the FogBugz API Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9.1, 0.9.2, and 0.9.3

minor changes recommended by Tyler

Changeset 3ccccfa4e780

Parent baf67913559d

by rich@geniusfc1.hq.fogcreek.com

Changes to one file · Browse files at 3ccccfa4e780 Showing diff from parent baf67913559d Diff from another changeset...

Change 1 of 2 Show Entire File fogbugz.py Stacked
 
26
27
28
29
 
30
31
32
 
71
72
73
74
75
 
 
76
77
78
 
26
27
28
 
29
30
31
32
 
71
72
73
 
 
74
75
76
77
78
@@ -26,7 +26,7 @@
  self._opener = urllib2.build_opener()   try:   soup = BeautifulSoup(self._opener.open(url + 'api.xml')) - except URLError: + except urllib2.URLError:   raise FogBugzConnectionError("Library could not connect to the FogBugz API. Either this installation of FogBugz does not support the API, or the url, %s, is incorrect." % (self._url,))   self._url = url + soup.response.url.string   self.currentFilter = None @@ -71,8 +71,8 @@
  except urllib2.URLError, e:   raise FogBugzConnectionError(e)   except UnicodeDecodeError, e: - print kwargs - raise + print kwargs + raise     if response.error:   raise FogBugzAPIError('Error Code %s: %s' % (response.error['code'], response.error.string,))