changeset 1934:9d6d30e36cdd

discovery: move to new style import This unify with the new core Mercurial usage and this will make future changes to the imports easier to track.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 30 Mar 2016 03:44:59 -0700
parents ca8674a8fce4
children 11d740319280
files hgext3rd/topic/discovery.py
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/discovery.py	Wed Mar 30 03:44:47 2016 -0700
+++ b/hgext3rd/topic/discovery.py	Wed Mar 30 03:44:59 2016 -0700
@@ -1,8 +1,14 @@
+from __future__ import absolute_import
+
 import weakref
-from mercurial import branchmap
-from mercurial import error
-from mercurial import exchange
+
 from mercurial.i18n import _
+from mercurial import (
+    branchmap,
+    error,
+    exchange,
+)
+
 from . import topicmap
 
 def _headssummary(orig, repo, remote, outgoing):