Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
AlexWaygood and AA-Turner authored Sep 25, 2023
1 parent 992274f commit 493aa33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/email/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ def localtime(dt=None, isdst=None):


def __getattr__(attr):
# lazy import, to speedup module import time
# lazy import, to speed up module import time
if attr == "make_msgid":
from ._msgid import make_msgid
from email._msgid import make_msgid
return make_msgid
raise AttributeError(f"module {__name__!r} has no attribute {attr!r}")

0 comments on commit 493aa33

Please sign in to comment.