27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
diff -up setroubleshoot-2.2.60/src/browser.py~ setroubleshoot-2.2.60/src/browser.py
|
|
--- setroubleshoot-2.2.60/src/browser.py~ 2010-01-22 09:20:37.000000000 -0500
|
|
+++ setroubleshoot-2.2.60/src/browser.py 2010-01-29 09:16:08.000000000 -0500
|
|
@@ -147,9 +147,7 @@ class BugReport:
|
|
return retval
|
|
except CommunicationError, e:
|
|
msg = _("Your bug could not be filed due to the following error when communicating with bugzilla:\n\n%s" % str(e))
|
|
- except ProtocolError, e:
|
|
- msg = _("Your bug could not be filed due to the following error when communicating with bugzilla:\n\n%s" % str(e))
|
|
- FailDialog(msg)
|
|
+ FailDialog(msg)
|
|
|
|
return -1
|
|
|
|
diff -up setroubleshoot-2.2.60/src/filer.py~ setroubleshoot-2.2.60/src/filer.py
|
|
--- setroubleshoot-2.2.60/src/filer.py~ 2009-12-21 11:28:48.000000000 -0500
|
|
+++ setroubleshoot-2.2.60/src/filer.py 2010-01-29 09:15:40.000000000 -0500
|
|
@@ -339,7 +339,7 @@ class BugzillaFiler(AbstractFiler):
|
|
try:
|
|
self._bz = bugzilla.Bugzilla(url=self.bugUrl)
|
|
retval = self._bz.login(username, password)
|
|
- except ProtocolError, e:
|
|
+ except xmlrpclib.ProtocolError, e:
|
|
raise CommunicationError(str(e))
|
|
except socket.error, e:
|
|
raise CommunicationError(str(e))
|