Skip to content

Commit 72ba673

Browse files
committed
Removed debug code.
- Legacy-Id: 11221
1 parent a32b121 commit 72ba673

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ietf/submit/parsers/base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ def parse_invalid_chars_in_filename(self):
6767
def parse_max_size(self):
6868
max_size = settings.IDSUBMIT_MAX_DRAFT_SIZE[self.ext]
6969
if self.fd.size > max_size:
70-
s = filesizeformat(max_size)
71-
debug.traceback()
72-
debug.type('s')
73-
debug.show('s')
7470
self.parsed_info.add_error(u'File size is larger than the permitted maximum of %s' % filesizeformat(max_size))
7571
self.parsed_info.metadata.file_size = self.fd.size
7672

0 commit comments

Comments
 (0)