Remove Python 2 compatibility logic in httpd test script

This commit is contained in:
Jon Siwek 2020-11-24 20:28:29 -08:00
parent 9717c623c2
commit 7d68f2ce9d

View file

@ -1,10 +1,5 @@
#! /usr/bin/env python3
try:
# Python 2
import BaseHTTPServer
except ImportError:
# Python 3
import http.server as BaseHTTPServer
class MyRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):