diff --git a/ietf/bin/iana-protocols-updates b/ietf/bin/iana-protocols-updates
index 7513ba589..57f9d38df 100755
--- a/ietf/bin/iana-protocols-updates
+++ b/ietf/bin/iana-protocols-updates
@@ -20,12 +20,12 @@ def chunks(l, n):
"""Split list l up in chunks of max size n."""
return (l[i:i+n] for i in xrange(0, len(l), n))
-syslog.syslog("Updating history log with new RFC entries from IANA protocols page %s" % PROTOCOLS_URL)
+syslog.syslog("Updating history log with new RFC entries from IANA protocols page %s" % settings.IANA_SYNC_PROTOCOLS_URL)
# FIXME: this needs to be the date where this tool is first deployed
rfc_must_published_later_than = datetime.datetime(2012, 11, 26, 0, 0, 0)
-text = fetch_protocol_page(PROTOCOLS_URL)
+text = fetch_protocol_page(settings.IANA_SYNC_PROTOCOLS_URL)
rfc_numbers = parse_protocol_page(text)
for chunk in chunks(rfc_numbers, 100):
updated = update_rfc_log_from_protocol_page(chunk, rfc_must_published_later_than)
diff --git a/ietf/sync/views.py b/ietf/sync/views.py
index 9be604c17..2a1e8a6a1 100644
--- a/ietf/sync/views.py
+++ b/ietf/sync/views.py
@@ -62,8 +62,8 @@ def notify(request, org, notification):
return HttpResponseForbidden("You do not have the necessary permissions to view this page")
known_notifications = {
- "protocols": "an added reference to an RFC at the IANA protocols page" % iana.PROTOCOLS_URL,
- "changes": "new changes at the changes JSON dump" % iana.CHANGES_URL,
+ "protocols": "an added reference to an RFC at the IANA protocols page" % settings.IANA_SYNC_PROTOCOLS_URL,
+ "changes": "new changes at the changes JSON dump" % settings.IANA_SYNC_CHANGES_URL,
"queue": "new changes to queue2.xml" % rfceditor.QUEUE_URL,
"index": "new changes to rfc-index.xml" % rfceditor.INDEX_URL,
}