From fb2fc0399abc016bc9419a05cf01370b4bba7c3c Mon Sep 17 00:00:00 2001 From: Florian Angerer <florian.angerer@oracle.com> Date: Tue, 12 Dec 2017 20:12:55 +0100 Subject: [PATCH] Fix style. --- mx.fastr/mx_fastr_pkgs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mx.fastr/mx_fastr_pkgs.py b/mx.fastr/mx_fastr_pkgs.py index d95de3889d..abbe70e0d1 100644 --- a/mx.fastr/mx_fastr_pkgs.py +++ b/mx.fastr/mx_fastr_pkgs.py @@ -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 -- GitLab