Fixed W291 (trailing-whitespace): Trailing whitespace

This commit is contained in:
Teal Dulcet 2023-12-22 07:22:21 -08:00 committed by Joshua Tauberer
parent e0e6f1081b
commit c585c1ecf6
3 changed files with 3 additions and 3 deletions

View File

@ -547,7 +547,7 @@ def scan_postfix_submission_line(date, log, collector):
"""
# Match both the 'plain' and 'login' sasl methods, since both authentication methods are
# allowed by Dovecot. Exclude trailing comma after the username when additional fields
# allowed by Dovecot. Exclude trailing comma after the username when additional fields
# follow after.
m = re.match(r"([A-Z0-9]+): client=(\S+), sasl_method=(PLAIN|LOGIN), sasl_username=(\S+)(?<!,)", log)

View File

@ -24,7 +24,7 @@
# lines while the lines start with whitespace, e.g.:
#
# NAME VAL
# UE
# UE
import sys, re

View File

@ -124,7 +124,7 @@ def generate_documentation():
""")
parser = Source.parser()
with open("setup/start.sh", "r") as start_file:
with open("setup/start.sh", "r") as start_file:
for line in start_file:
try:
fn = parser.parse_string(line).filename()