diff options
author | Neil <nyamatongwe@gmail.com> | 2023-03-15 09:45:15 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-03-15 09:45:15 +1100 |
commit | 481b5651df9bd160d4ff1f1ba471eead61a53252 (patch) | |
tree | d1fdb9642eaaef49eab6675dc816a7f7246f93b9 /scripts/Face.py | |
parent | f5b5b395e2c21c6c8a338a2b2641e3143534589c (diff) | |
download | scintilla-mirror-481b5651df9bd160d4ff1f1ba471eead61a53252.tar.gz |
Fix some warnings from ruff.
Diffstat (limited to 'scripts/Face.py')
-rw-r--r-- | scripts/Face.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Face.py b/scripts/Face.py index 21fc67995..58ec47ae8 100644 --- a/scripts/Face.py +++ b/scripts/Face.py @@ -5,7 +5,8 @@ # Requires Python 2.7 or later def sanitiseLine(line): - if line[-1:] == '\n': line = line[:-1] + if line[-1:] == '\n': + line = line[:-1] if line.find("##") != -1: line = line[:line.find("##")] line = line.strip() |