mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove Python 2 compatibility logic in httpd test script
This commit is contained in:
parent
9717c623c2
commit
7d68f2ce9d
1 changed files with 1 additions and 6 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue