[Python-checkins] python/dist/src/Lib/idlelib ScriptBinding.py, 1.31, 1.32
kbk@users.sourceforge.net
kbk at users.sourceforge.net
Tue Aug 23 05:25:48 CEST 2005
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.61, 1.62 ScriptBinding.py, 1.30, 1.31
- Next message: [Python-checkins] python/nondist/sandbox/mailbox libmailbox.tex, 1.14, 1.15 mailbox.py, 1.15, 1.16 test_mailbox.py, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8689
Modified Files:
ScriptBinding.py
Log Message:
Revert previous code elimination, 'filename' is needed.
Index: ScriptBinding.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/ScriptBinding.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- ScriptBinding.py 23 Aug 2005 02:27:23 -0000 1.31
+++ ScriptBinding.py 23 Aug 2005 03:25:38 -0000 1.32
@@ -53,7 +53,7 @@
self.flist = self.editwin.flist
self.root = self.flist.root
- def check_module_event(self, event=None):
+ def check_module_event(self, event):
filename = self.getfilename()
if not filename:
return
@@ -133,7 +133,12 @@
add that directory to its sys.path if not already included.
"""
- code = self.check_module_event(event)
+ filename = self.getfilename()
+ if not filename:
+ return
+ if not self.tabnanny(filename):
+ return
+ code = self.checksyntax(filename)
if not code:
return
shell = self.shell
- Previous message: [Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.61, 1.62 ScriptBinding.py, 1.30, 1.31
- Next message: [Python-checkins] python/nondist/sandbox/mailbox libmailbox.tex, 1.14, 1.15 mailbox.py, 1.15, 1.16 test_mailbox.py, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list