Skip to content

Commit ba12077

Browse files
committed
Pyflakes fixes to our copy of pyzmail
- Legacy-Id: 16578
1 parent 07c5e33 commit ba12077

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyzmail/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
local="(?:" + dot_atom + "|" + quoted + ")"
4747
domain_lit=r"\[(?:\\\S|[\x21-\x5a\x5e-\x7e])*\]"
4848
domain="(?:" + dot_atom + "|" + domain_lit + ")"
49-
addr_spec=local + "\@" + domain
49+
addr_spec=local + "@" + domain
5050
# and the result
5151
email_address_re=re.compile('^'+addr_spec+'$')
5252

pyzmail/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
invalid_chars_in_filename=b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f' \
1616
b'\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f' \
17-
b'<>:"/\\|?*\%\''
17+
b'<>:"/\\|?*%\''
1818

1919
invalid_windows_name=[b'CON', b'PRN', b'AUX', b'NUL', b'COM1', b'COM2', b'COM3',
2020
b'COM4', b'COM5', b'COM6', b'COM7', b'COM8', b'COM9',

0 commit comments

Comments
 (0)