Add missing self for method call

This commit is contained in:
Neal Norwitz 2002-11-30 18:49:10 +00:00
parent 3e0edbf4d8
commit f4c4f115d8

View File

@ -516,7 +516,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
"Run the code without invoking the debugger" "Run the code without invoking the debugger"
# The code better not raise an exception! # The code better not raise an exception!
if self.tkconsole.executing: if self.tkconsole.executing:
display_executing_dialog() self.display_executing_dialog()
return 0 return 0
if self.rpcclt: if self.rpcclt:
self.rpcclt.remotecall("exec", "runcode", (code,), {}) self.rpcclt.remotecall("exec", "runcode", (code,), {})
@ -527,7 +527,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
def runcode(self, code): def runcode(self, code):
"Override base class method" "Override base class method"
if self.tkconsole.executing: if self.tkconsole.executing:
display_executing_dialog() self.display_executing_dialog()
return return
self.checklinecache() self.checklinecache()
if self.save_warnings_filters is not None: if self.save_warnings_filters is not None: