From 5e236e32a8c1d3676b31b5f567ad8785f4955691 Mon Sep 17 00:00:00 2001 From: Andrei Savici <saviciat@ornl.gov> Date: Sat, 5 May 2018 19:11:21 -0400 Subject: [PATCH] Update inputsplitter.py --- qt/python/mantidqt/widgets/codeeditor/inputsplitter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py b/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py index a13256d2309..e3e7af4e93e 100644 --- a/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py +++ b/qt/python/mantidqt/widgets/codeeditor/inputsplitter.py @@ -72,6 +72,8 @@ class InputSplitter(IPyInputSplitter): self._update_indent(lines) except TypeError: # _update_indent was changed in IPython 6.0 self._update_indent() + except AttributeError: # changed definition in IPython 6.3 + self.get_indent_spaces() try: self.code = self._compile(source, symbol="exec") # Invalid syntax can produce any of a number of different errors from -- GitLab