Skip to content
Snippets Groups Projects
Commit fb2fc039 authored by Florian Angerer's avatar Florian Angerer
Browse files

Fix style.

parent 682f98b6
No related branches found
No related tags found
No related merge requests found
......@@ -751,9 +751,9 @@ def _ignore_whitespace(gnur_line, fastr_line):
def _capture_prompt(lines, idx):
# The prompt can be anything, so it is hard to determine it in general.
# We will therefore just consider the default prompt.
DEFAULT_PROMPT = "> "
if idx < len(lines) and lines[idx].startswith(DEFAULT_PROMPT):
return DEFAULT_PROMPT
default_prompt = "> "
if idx < len(lines) and lines[idx].startswith(default_prompt):
return default_prompt
return None
......
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