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