Skip to content

Commit 09a9066

Browse files
committed
Codingstyle: remove uneeded whitespaces and a stray trailing comma
1 parent 3b10afd commit 09a9066

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

filters/pythonfilter/whitelist_dnswl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def do_filter(body_path, control_paths):
5252
sys.stderr.write(f'whitelist_dnswl: unparsable senders_ip: {senders_ip}\n')
5353
return ''
5454

55-
# sender is either IPV4Address or IPV6Address object,
55+
# sender is either IPV4Address or IPV6Address object
5656
reverse = sender.reverse_pointer.replace('.in-addr.arpa', '').replace('.ip6.arpa', '')
5757

5858
for zone in dnswl_zone:

tests/test_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
'rfc822;postmaster@ascension.private.dragonsdawn.net',
8080
'']]},
8181
'senders_ip': '127.0.0.1'}
82-
message['ldapalias'] = {'control_paths': [f'{os.path.dirname(__file__)}/tmp/queuefiles/control-ldapalias'],
82+
message['ldapalias'] = {'control_paths': [f'{os.path.dirname(__file__)}/tmp/queuefiles/control-ldapalias'],
8383
'control_data': {'s': 'root@ascension.private.dragonsdawn.net',
8484
'f': 'dns; localhost (localhost [127.0.0.1])',
8585
'e': '',

0 commit comments

Comments
 (0)