[Python-checkins] python/dist/src/Lib/idlelib aboutDialog.py, 1.13,
1.13.8.1
nnorwitz at users.sourceforge.net
nnorwitz at users.sourceforge.net
Tue Oct 28 16:58:29 EST 2003
Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1:/tmp/cvs-serv20744/Lib/idlelib
Modified Files:
Tag: release23-maint
aboutDialog.py
Log Message:
SF #775057, fix IDLE problem in about dialog
If the file doesn't exist, the code to display an error message was broken
Index: aboutDialog.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/aboutDialog.py,v
retrieving revision 1.13
retrieving revision 1.13.8.1
diff -C2 -d -r1.13 -r1.13.8.1
*** aboutDialog.py 16 Jun 2003 18:46:42 -0000 1.13
--- aboutDialog.py 28 Oct 2003 21:58:26 -0000 1.13.8.1
***************
*** 140,146 ****
textFile = codecs.open(fn, 'r')
except IOError:
tkMessageBox.showerror(title='File Load Error',
message='Unable to load file '+
! `fileName`+' .')
return
else:
--- 140,148 ----
textFile = codecs.open(fn, 'r')
except IOError:
+ import tkMessageBox
tkMessageBox.showerror(title='File Load Error',
message='Unable to load file '+
! `fn`+' .',
! parent=self)
return
else:
More information about the Python-checkins
mailing list