Merge lp:~cjwatson/lazr.restful/py3-email-utils into lp:lazr.restful

Proposed by Colin Watson
Status: Merged
Merged at revision: 252
Proposed branch: lp:~cjwatson/lazr.restful/py3-email-utils
Merge into: lp:lazr.restful
Diff against target: 12 lines (+1/-1)
1 file modified
src/lazr/restful/_resource.py (+1/-1)
To merge this branch: bzr merge lp:~cjwatson/lazr.restful/py3-email-utils
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+389008@code.launchpad.net

Commit message

Import formatdate from email.utils rather than email.Utils.

Description of the change

This module was renamed in Python 2.5, with compatibility for the old-style names until Python 3.0.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

Self-approving this as trivial.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/lazr/restful/_resource.py'
--- src/lazr/restful/_resource.py 2020-07-22 23:22:26 +0000
+++ src/lazr/restful/_resource.py 2020-08-10 15:00:51 +0000
@@ -31,7 +31,7 @@
3131
3232
33from datetime import datetime, date33from datetime import datetime, date
34from email.Utils import formatdate34from email.utils import formatdate
35import cgi35import cgi
36import copy36import copy
37import os37import os

Subscribers

People subscribed via source and target branches