diff hgext/obsolete.py @ 1757:86e71a0b3319 stable

errors: add missing imports of mercurial.error
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 28 Oct 2016 17:25:06 -0700
parents 11d72083883a
children
line wrap: on
line diff
--- a/hgext/obsolete.py	Fri Oct 28 17:15:57 2016 -0700
+++ b/hgext/obsolete.py	Fri Oct 28 17:25:06 2016 -0700
@@ -13,7 +13,7 @@
 were such user.
 """
 
-from mercurial import util
+from mercurial import error
 
 try:
     from mercurial import obsolete
@@ -24,9 +24,9 @@
 import json
 
 from mercurial import cmdutil
-from mercurial import error
 from mercurial.i18n import _
 from mercurial.node import bin, nullid
+from mercurial import util
 
 
 #####################################################################