Kaydet (Commit) 0cd233f4 authored tarafından Kurt B. Kaiser's avatar Kurt B. Kaiser

Revert previous code elimination, 'filename' is needed.

üst 2618c7fa
......@@ -53,7 +53,7 @@ class ScriptBinding:
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 @@ class ScriptBinding:
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment