Mercurial > public > mercurial-scm > hg-stable
diff hgext/notify.py @ 28416:d3c8183f429e
notify: use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 21:48:08 +0000 |
parents | 56b2bcea2529 |
children | 1bba1b43525a |
line wrap: on
line diff
--- a/hgext/notify.py Wed Mar 02 21:42:42 2016 +0000 +++ b/hgext/notify.py Wed Mar 02 21:48:08 2016 +0000 @@ -132,11 +132,21 @@ references. See also ``notify.strip``. ''' +from __future__ import absolute_import -import email, socket, time +import email +import fnmatch +import socket +import time + +from mercurial import ( + cmdutil, + error, + mail, + patch, + util, +) from mercurial.i18n import _ -from mercurial import patch, cmdutil, util, mail, error -import fnmatch # Note for extension authors: ONLY specify testedwith = 'internal' for # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should