[Piglit] [PATCH 05/44] framework: use six.moves.BaseHTTPServer shim

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Jan 27 16:06:13 PST 2016


From: Dylan Baker <baker.dylan.c at gmail.com>

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/log.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/framework/log.py b/framework/log.py
index 5bd6902..704ab05 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -32,13 +32,14 @@ import abc
 import itertools
 import threading
 import collections
-from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
 
 try:
     import simplejson as json
 except ImportError:
     import json
 
+from six.moves.BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
+
 from framework.core import PIGLIT_CONFIG
 from framework import grouptools
 
-- 
2.7.0



More information about the Piglit mailing list