##// END OF EJS Templates
tests/dumbhttp: use absolute_import
Gregory Szorc -
r27282:0bb8c405 default
parent child Browse files
Show More
@@ -1,13 +1,22 b''
1 1 #!/usr/bin/env python
2 2
3 from __future__ import absolute_import
4
3 5 """
4 6 Small and dumb HTTP server for use in tests.
5 7 """
6 8
7 from optparse import OptionParser
8 import BaseHTTPServer, SimpleHTTPServer, signal, sys
9 import optparse
10 import BaseHTTPServer
11 import signal
12 import SimpleHTTPServer
13 import sys
9 14
10 from mercurial import cmdutil
15 from mercurial import (
16 cmdutil,
17 )
18
19 OptionParser = optparse.OptionParser
11 20
12 21 class simplehttpservice(object):
13 22 def __init__(self, host, port):
@@ -143,7 +143,6 b''
143 143 mercurial/util.py not using absolute_import
144 144 mercurial/windows.py not using absolute_import
145 145 setup.py not using absolute_import
146 tests/dumbhttp.py not using absolute_import
147 146 tests/fakedirstatewritetime.py not using absolute_import
148 147 tests/fakepatchtime.py not using absolute_import
149 148 tests/filterpyflakes.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now