Skip to content

Commit 33a1fed

Browse files
author
Forest
committed
imaplib: restore original exception msg formatting
This reduces the footprint of PR #122542.
1 parent 7fc8a24 commit 33a1fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def readline(self):
379379

380380
line = b''.join(parts)
381381
if len(line) > _MAXLINE:
382-
raise self.error(f'got more than {_MAXLINE} bytes')
382+
raise self.error("got more than %d bytes" % _MAXLINE)
383383
return line
384384

385385

0 commit comments

Comments
 (0)