Changeset 5d4953995963…
Parent e06ef7ee3f3a…
by Tyler G. Hicks-Wright <tghw@fogcreek.com>
Changes to one file · Browse files at 5d4953995963 Showing diff from parent e06ef7ee3f3a Diff from another changeset...
@@ -22,7 +22,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
|
Loading...