changeset 1936:31583ddda6d9

stack: 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:45:18 -0700
parents 11d740319280
children 60b7de2b3dd1
files hgext3rd/topic/stack.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/stack.py	Wed Mar 30 03:45:10 2016 -0700
+++ b/hgext3rd/topic/stack.py	Wed Mar 30 03:45:18 2016 -0700
@@ -4,8 +4,10 @@
 # GNU General Public License version 2 or any later version.
 import collections
 from mercurial.i18n import _
-from mercurial import error
-from mercurial import obsolete
+from mercurial import (
+    error,
+    obsolete,
+)
 
 def getstack(repo, topic):
     # XXX need sorting