Patchwork [07,of,10,V3,py3,support] notify: correct import of email module, sort stdlib modules to top

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 5:19 p.m.
Message ID <291285a2fa6a9a65b912.1379697578@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2572/
State Accepted
Commit efee1f35fcae6a156b066890cb68ee362b50dd56
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686615 14400
#      Fri Sep 20 10:16:55 2013 -0400
# Node ID 291285a2fa6a9a65b912687e3d05fddaf4d5912e
# Parent  ef6728a31d2c92c8012cdea17322af1b7c3b66c0
notify: correct import of email module, sort stdlib modules to top

Patch

diff --git a/hgext/notify.py b/hgext/notify.py
--- a/hgext/notify.py
+++ b/hgext/notify.py
@@ -133,9 +133,10 @@ 
 
 '''
 
+import email, socket, time
 from mercurial.i18n import _
 from mercurial import patch, cmdutil, templater, util, mail
-import email.Parser, email.Errors, fnmatch, socket, time
+import fnmatch
 
 testedwith = 'internal'