comparison tests/test-hgweb-auth.py @ 28747:779addce6910

py3: use absolute_import in test-hgweb-auth.py
author Robert Stanca <robert.stanca7@gmail.com>
date Mon, 04 Apr 2016 00:55:36 +0300
parents 9de689d20230
children c2ba5a810fa1
comparison
equal deleted inserted replaced
28746:de5808c57f58 28747:779addce6910
1 from __future__ import absolute_import
2
1 from mercurial import demandimport; demandimport.enable() 3 from mercurial import demandimport; demandimport.enable()
2 import urllib2 4 import urllib2
3 from mercurial import ui, util 5 from mercurial import (
4 from mercurial import url 6 ui,
5 from mercurial.error import Abort 7 url,
8 util,
9 )
10 from mercurial.error import (
11 Abort,
12 )
6 13
7 class myui(ui.ui): 14 class myui(ui.ui):
8 def interactive(self): 15 def interactive(self):
9 return False 16 return False
10 17