Commit 502d821a authored by Denis Bilenko's avatar Denis Bilenko

backdoor: 2.4-compatibility

parent 94b53d5f
...@@ -83,10 +83,11 @@ class SocketConsole(Greenlet): ...@@ -83,10 +83,11 @@ class SocketConsole(Greenlet):
def _run(self): def _run(self):
try: try:
console = InteractiveConsole(self.locals) try:
console.interact() console = InteractiveConsole(self.locals)
except SystemExit: # raised by quit() console.interact()
pass except SystemExit: # raised by quit()
pass
finally: finally:
self.switch_out() self.switch_out()
self.finalize() self.finalize()
......
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