mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
If command executed but is incomplete and more lines are needed prompt shouldn't be changed to ordinary one in this case.
This commit is contained in:
@@ -215,7 +215,7 @@ class BaseInterpreterInterface:
|
||||
try:
|
||||
self.startExec()
|
||||
more = self.doAddExec(code_fragment)
|
||||
self.finishExec()
|
||||
self.finishExec(more)
|
||||
finally:
|
||||
if help is not None:
|
||||
try:
|
||||
@@ -358,13 +358,13 @@ class BaseInterpreterInterface:
|
||||
else:
|
||||
return None
|
||||
|
||||
def finishExec(self):
|
||||
def finishExec(self, more):
|
||||
self.interruptable = False
|
||||
|
||||
server = self.get_server()
|
||||
|
||||
if server is not None:
|
||||
return server.NotifyFinished()
|
||||
return server.NotifyFinished(more)
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user