Fixed W291 (trailing-whitespace): Trailing whitespace
This commit is contained in:
parent
e0e6f1081b
commit
c585c1ecf6
|
@ -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
|
# 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.
|
# follow after.
|
||||||
m = re.match(r"([A-Z0-9]+): client=(\S+), sasl_method=(PLAIN|LOGIN), sasl_username=(\S+)(?<!,)", log)
|
m = re.match(r"([A-Z0-9]+): client=(\S+), sasl_method=(PLAIN|LOGIN), sasl_username=(\S+)(?<!,)", log)
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# lines while the lines start with whitespace, e.g.:
|
# lines while the lines start with whitespace, e.g.:
|
||||||
#
|
#
|
||||||
# NAME VAL
|
# NAME VAL
|
||||||
# UE
|
# UE
|
||||||
|
|
||||||
import sys, re
|
import sys, re
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,7 @@ def generate_documentation():
|
||||||
""")
|
""")
|
||||||
|
|
||||||
parser = Source.parser()
|
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:
|
for line in start_file:
|
||||||
try:
|
try:
|
||||||
fn = parser.parse_string(line).filename()
|
fn = parser.parse_string(line).filename()
|
||||||
|
|
Loading…
Reference in New Issue