##// END OF EJS Templates
hook: use absolute_import
Gregory Szorc -
r25953:d15b279d default
parent child Browse files
Show More
@@ -5,9 +5,19
5 5 # This software may be used and distributed according to the terms of the
6 6 # GNU General Public License version 2 or any later version.
7 7
8 from i18n import _
9 import os, sys, time
10 import extensions, util, demandimport, error
8 from __future__ import absolute_import
9
10 import os
11 import sys
12 import time
13
14 from .i18n import _
15 from . import (
16 demandimport,
17 error,
18 extensions,
19 util,
20 )
11 21
12 22 def _pythonhook(ui, repo, name, hname, funcname, args, throw):
13 23 '''call python hook. hook is callable object, looked up as
General Comments 0
You need to be logged in to leave comments. Login now