]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/request_fetcher.py
- more python 3.x fixes
[tld-builder.git] / TLD_Builder / request_fetcher.py
index 609ec711bcf644425bc247a671e6df4a45e44339..fc9f49dac3c21a26719070d4af7d39dd9b97f604 100644 (file)
@@ -73,7 +73,7 @@ def fetch_queue(control_url):
         signal.alarm(0)
         log.error("can't fetch %s: %s" % (control_url + "/queue.gz", e))
         sys.exit(1)
-    sio = StringIO.StringIO()
+    sio = StringIO()
     util.sendfile(f, sio)
     f.close()
     sio.seek(0)