diff roundup/anypy/http_.py @ 5409:277e91bf7936

Python 3 preparation: update BaseHTTPServer imports. roundup/anypy/http_.py extended and used in more places. Manual patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Wed, 25 Jul 2018 00:17:07 +0000
parents dfd0bcc947e5
children a75285092156
line wrap: on
line diff
--- a/roundup/anypy/http_.py	Wed Jul 25 00:16:00 2018 +0000
+++ b/roundup/anypy/http_.py	Wed Jul 25 00:17:07 2018 +0000
@@ -1,7 +1,8 @@
 try:
     # Python 3+
-    from http import client
+    from http import client, server
 except:
     # Python 2.5-2.7
     import httplib as client
+    import BaseHTTPServer as server
 

Roundup Issue Tracker: http://roundup-tracker.org/