From patchwork Fri Sep 20 14:23:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [08, of, 13, V2, py3, support] notify: correct import of email module, sort stdlib modules to top From: Augie Fackler X-Patchwork-Id: 2555 Message-Id: <77a5a10b01b76a6fc347.1379687026@arthedain.pit.corp.google.com> To: mercurial-devel@selenic.com Date: Fri, 20 Sep 2013 10:23:46 -0400 # HG changeset patch # User Augie Fackler # Date 1379686615 14400 # Fri Sep 20 10:16:55 2013 -0400 # Node ID 77a5a10b01b76a6fc347ec4fe97507cef667ee6b # Parent b921835065ad98cec7d1565ae288440ca6bda1a5 notify: correct import of email module, sort stdlib modules to top 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'