Skip to content
Snippets Groups Projects
Commit 251ac532 authored by Colton Leekley-Winslow's avatar Colton Leekley-Winslow
Browse files

add comment to files.py

parent 4609a6b0
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,12 @@ def process_form(request, hash_alg=None):
def getHashingFieldStorage(upload_dir, hash_alg):
# pylint: disable=attribute-defined-outside-init
# We dynamically create this class because we
# can't add arguments to __init__.
# This is due to the FieldStorage we create
# in turn creating a FieldStorage for different
# parts of the form, with a hardcoded set of args
class HashingFieldStorage(cgi.FieldStorage):
bufsize = 2**20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment