Skip to content

Commit fb66f38

Browse files
committed
Undid an unintentional adaptation to the xml2rfc 2.6.0 call interface change.
- Legacy-Id: 13556
1 parent 07b89e0 commit fb66f38

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

PLAN

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ Updated: $Date$
77
Planned work in rough order
88
===========================
99

10-
* Merge in the authorstats work
11-
1210
* Use the htmlization lib to improve the rendering of draft text in the
1311
datatracker's /doc/draft-foo-bar/ pages.
1412

ietf/submit/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import datetime
44
import os
55
import xml2rfc
6-
import optparse
76

87
from django.conf import settings
98
from django.contrib import messages
@@ -63,7 +62,7 @@ def upload_submission(request):
6362
if not form.cleaned_data['txt']:
6463
file_name['txt'] = os.path.join(settings.IDSUBMIT_STAGING_PATH, '%s-%s.txt' % (form.filename, form.revision))
6564
try:
66-
pagedwriter = xml2rfc.PaginatedTextRfcWriter(form.xmltree, options=optparse.Values(defaults=dict(quiet=True, verbose=False, utf8=False)))
65+
pagedwriter = xml2rfc.PaginatedTextRfcWriter(form.xmltree, quiet=True)
6766
pagedwriter.write(file_name['txt'])
6867
except Exception as e:
6968
raise ValidationError("Error from xml2rfc: %s" % e)

0 commit comments

Comments
 (0)