Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
bcca211c
Commit
bcca211c
authored
Jul 07, 2021
by
Wout De Nolf
Browse files
Linting
parent
0a806932
Pipeline
#50049
failed with stages
in 154 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bliss/shell/cli/repl.py
View file @
bcca211c
...
...
@@ -280,7 +280,7 @@ class PromptToolkitOutputWrapper(DummyOutput):
def
acknowledge_output
(
self
):
txt
=
""
.
join
(
self
.
_output_buffer
)
self
.
_output_buffer
.
clear
()
txt
=
re
.
sub
(
"^(\s+Out\s\[\d+\]:\s+)"
,
""
,
txt
,
count
=
1
,
flags
=
re
.
MULTILINE
)
txt
=
re
.
sub
(
r
"^(\s+Out\s\[\d+\]:\s+)"
,
""
,
txt
,
count
=
1
,
flags
=
re
.
MULTILINE
)
self
.
_output
.
append
(
txt
)
def
__getitem__
(
self
,
item_no
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment