From a4d486ab26a53bae151d3aab794ba8064a983fbc Mon Sep 17 00:00:00 2001
From: Henrik Levkowetz <henrik@levkowetz.com>
Date: Sun, 9 Jun 2013 17:55:47 +0000
Subject: [PATCH] Use argument 'draft' for document instead of
 'approved_draft_name' when sending sync notifications to the RFC-Editor.  -
 Legacy-Id: 5776

---
 ietf/sync/rfceditor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ietf/sync/rfceditor.py b/ietf/sync/rfceditor.py
index 0024f982d..6ac13611d 100644
--- a/ietf/sync/rfceditor.py
+++ b/ietf/sync/rfceditor.py
@@ -466,7 +466,7 @@ def post_approved_draft(url, name):
 
     text = error = ""
     try:
-        f = urllib2.urlopen(request, data=urllib.urlencode({ 'approved_draft_name': name }), timeout=20)
+        f = urllib2.urlopen(request, data=urllib.urlencode({ 'draft': name }), timeout=20)
         text = f.read()
         status_code = f.getcode()
         f.close()