Skip to content
Snippets Groups Projects
Unverified Commit 7ade33ae authored by Hahn, Steven's avatar Hahn, Steven Committed by GitHub
Browse files

Merge pull request #22390 from mantidproject/ipython_6_3

Update inputsplitter.py
parents 576ca0d7 5e236e32
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,8 @@ class InputSplitter(IPyInputSplitter): ...@@ -72,6 +72,8 @@ class InputSplitter(IPyInputSplitter):
self._update_indent(lines) self._update_indent(lines)
except TypeError: # _update_indent was changed in IPython 6.0 except TypeError: # _update_indent was changed in IPython 6.0
self._update_indent() self._update_indent()
except AttributeError: # changed definition in IPython 6.3
self.get_indent_spaces()
try: try:
self.code = self._compile(source, symbol="exec") self.code = self._compile(source, symbol="exec")
# Invalid syntax can produce any of a number of different errors from # Invalid syntax can produce any of a number of different errors from
......
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