We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a32b121 commit 72ba673Copy full SHA for 72ba673
1 file changed
ietf/submit/parsers/base.py
@@ -67,10 +67,6 @@ def parse_invalid_chars_in_filename(self):
67
def parse_max_size(self):
68
max_size = settings.IDSUBMIT_MAX_DRAFT_SIZE[self.ext]
69
if self.fd.size > max_size:
70
- s = filesizeformat(max_size)
71
- debug.traceback()
72
- debug.type('s')
73
- debug.show('s')
74
self.parsed_info.add_error(u'File size is larger than the permitted maximum of %s' % filesizeformat(max_size))
75
self.parsed_info.metadata.file_size = self.fd.size
76
0 commit comments