Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
7ade33ae
Unverified
Commit
7ade33ae
authored
6 years ago
by
Hahn, Steven
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
qt/python/mantidqt/widgets/codeeditor/inputsplitter.py
+2
-0
2 additions, 0 deletions
qt/python/mantidqt/widgets/codeeditor/inputsplitter.py
with
2 additions
and
0 deletions
qt/python/mantidqt/widgets/codeeditor/inputsplitter.py
+
2
−
0
View file @
7ade33ae
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment