diff --git a/ietf/bin/rfc-editor-index-updates b/ietf/bin/rfc-editor-index-updates
index 6c55bc3d7..2c0189302 100755
--- a/ietf/bin/rfc-editor-index-updates
+++ b/ietf/bin/rfc-editor-index-updates
@@ -49,7 +49,7 @@ log("Updating document metadata from RFC index from %s" % settings.RFC_EDITOR_IN
 
 
 socket.setdefaulttimeout(30)
-rfc_index_xml = requests.get(settings.RFC_EDITOR_INDEX_URL, stream=True).text
+rfc_index_xml = requests.get(settings.RFC_EDITOR_INDEX_URL).text
 index_data = ietf.sync.rfceditor.parse_index(io.StringIO(rfc_index_xml))
 
 errata_data = requests.get(settings.RFC_EDITOR_ERRATA_JSON_URL).json()
diff --git a/ietf/bin/rfc-editor-queue-updates b/ietf/bin/rfc-editor-queue-updates
index cba0ed3f7..08f3603c6 100755
--- a/ietf/bin/rfc-editor-queue-updates
+++ b/ietf/bin/rfc-editor-queue-updates
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
 
+import io
 import os
 import requests
 import socket