pushkey: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:57:27 -0700
changeset 25969 7b200566e474
parent 25968 1139d7cf9405
child 25970 d1419cfbd4f4
pushkey: use absolute_import
mercurial/pushkey.py
--- a/mercurial/pushkey.py	Sat Aug 08 19:57:10 2015 -0700
+++ b/mercurial/pushkey.py	Sat Aug 08 19:57:27 2015 -0700
@@ -5,7 +5,14 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import bookmarks, phases, obsolete, encoding
+from __future__ import absolute_import
+
+from . import (
+    bookmarks,
+    encoding,
+    obsolete,
+    phases,
+)
 
 def _nslist(repo):
     n = {}