Skip to content
Snippets Groups Projects
Commit 0bb8c405 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

tests/dumbhttp: use absolute_import

parent 3b517f2a
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
from __future__ import absolute_import
"""
Small and dumb HTTP server for use in tests.
"""
......@@ -3,7 +5,10 @@
"""
Small and dumb HTTP server for use in tests.
"""
from optparse import OptionParser
import BaseHTTPServer, SimpleHTTPServer, signal, sys
import optparse
import BaseHTTPServer
import signal
import SimpleHTTPServer
import sys
......@@ -9,5 +14,9 @@
from mercurial import cmdutil
from mercurial import (
cmdutil,
)
OptionParser = optparse.OptionParser
class simplehttpservice(object):
def __init__(self, host, port):
......
......@@ -143,7 +143,6 @@
mercurial/util.py not using absolute_import
mercurial/windows.py not using absolute_import
setup.py not using absolute_import
tests/dumbhttp.py not using absolute_import
tests/fakedirstatewritetime.py not using absolute_import
tests/fakepatchtime.py not using absolute_import
tests/filterpyflakes.py not using absolute_import
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment