mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Trying to deal with Travis CI problem
This commit is contained in:
parent
a58d08c7e4
commit
c97a814d26
3 changed files with 9 additions and 3 deletions
|
|
@ -18,6 +18,7 @@ import traceback
|
|||
|
||||
PY3 = sys.version_info >= (3, 0)
|
||||
UNICODE_ENCODING = "utf-8"
|
||||
DEBUG = False
|
||||
|
||||
if PY3:
|
||||
from http.client import INTERNAL_SERVER_ERROR
|
||||
|
|
@ -83,7 +84,8 @@ class ThreadingServer(ThreadingMixIn, HTTPServer):
|
|||
try:
|
||||
HTTPServer.finish_request(self, *args, **kwargs)
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
if DEBUG:
|
||||
traceback.print_exc()
|
||||
|
||||
class ReqHandler(BaseHTTPRequestHandler):
|
||||
def do_REQUEST(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue