Update of /cvsroot/cvsshell/cvsshell/src
In directory usw-pr-cvs1:/tmp/cvs-serv11482
Modified Files:
app.py
Log Message:
bugAddress can now be either a email address or a URL
Index: app.py
===================================================================
RCS file: /cvsroot/cvsshell/cvsshell/src/app.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** app.py 7 Mar 2002 00:03:22 -0000 1.1.1.1
--- app.py 7 Mar 2002 11:50:28 -0000 1.2
***************
*** 194,201 ****
Platform: %s
Python version: %s""" % (self.version, sys.platform, sys.version))
! self.printMsg("""========== Traceback ends here ==========
! You have discovered a bug in %s.
! Please send a bug report to %s,
! including the traceback above.""" % (self.name, self.bugAddress))
self.closeApp()
return res
--- 194,204 ----
Platform: %s
Python version: %s""" % (self.version, sys.platform, sys.version))
! self.printMsg("========== Traceback ends here ==========\n" \
! "You have discovered a bug in %s.") % self.name
! if self.bugAddress.find('@') > 0:
! self.printMsg("Please send a bug report to %s," % self.bugAddress)
! else:
! self.printMsg("Please fill out a bug report at %s," % self.bugAddress)
! self.printMsg("including the traceback above.")
self.closeApp()
return res
|