##// END OF EJS Templates
Add missing return that was causing double-execution of single lines.
Fernando Perez -
Show More
@@ -2099,6 +2099,7 b' class InteractiveShell(Configurable, Magic):'
2099
2099
2100 if len(blocks) == 1:
2100 if len(blocks) == 1:
2101 self.runlines(blocks[0])
2101 self.runlines(blocks[0])
2102 return
2102
2103
2103 last = blocks[-1]
2104 last = blocks[-1]
2104 if len(last.splitlines()) < 2:
2105 if len(last.splitlines()) < 2:
General Comments 0
You need to be logged in to leave comments. Login now