Skip to content
Snippets Groups Projects
Unverified Commit 2f15e04f authored by Florent Lamiraux's avatar Florent Lamiraux Committed by GitHub
Browse files

Update scripts/run_command

parent 021782fe
No related branches found
No related tags found
No related merge requests found
Pipeline #16993 failed
...@@ -88,11 +88,7 @@ class RosShell(InteractiveConsole): ...@@ -88,11 +88,7 @@ class RosShell(InteractiveConsole):
return self.runcode(c) return self.runcode(c)
else: else:
return True return True
except SyntaxError: except (SyntaxError, OverflowError):
self.showsyntaxerror()
self.cache = ""
return False
except OverflowError:
self.showsyntaxerror() self.showsyntaxerror()
self.cache = "" self.cache = ""
return False return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment