stack: move to new style import
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 30 Mar 2016 03:45:18 -0700
changeset 1936 31583ddda6d9
parent 1935 11d740319280
child 1937 60b7de2b3dd1
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.
hgext3rd/topic/stack.py
--- 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