Skip to content

Commit 3ea5615

Browse files
committed
WIP
1 parent 08d844a commit 3ea5615

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test_.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1040,8 +1040,7 @@ def test_long_attachment_filename(self):
10401040

10411041
def verify_inline_message(txt: str):
10421042
boundary = re.search(r'boundary="(.*)"', txt).group(1)
1043-
reg = fr'{
1044-
boundary}.*{boundary}\n(.*)\n--{boundary}.*(-----BEGIN PGP SIGNATURE-----.*-----END PGP SIGNATURE-----)'
1043+
reg = (fr'{boundary}.*{boundary}\n(.*)\n--{boundary}.*(-----BEGIN PGP SIGNATURE-----.*-----END PGP SIGNATURE-----)')
10451044
m = re.search(reg, txt, re.DOTALL)
10461045
return e._gpg_verify(m[2].encode(), m[1].encode())
10471046

0 commit comments

Comments
 (0)