BOM-2369 (A): pyupgrade on api,contentstore and cms_user_tasks apps under CMS (#26676)

* pyupgrade on cms api,contentstore and cms_user_tasks apps
This commit is contained in:
M. Zulqarnain
2021-03-04 15:06:07 +05:00
committed by GitHub
parent a8449334af
commit 5562944e87
39 changed files with 231 additions and 259 deletions

View File

@@ -8,7 +8,7 @@ from django.core.files.uploadhandler import FileUploadHandler
class DebugFileUploader(FileUploadHandler): # lint-amnesty, pylint: disable=missing-class-docstring
def __init__(self, request=None):
super(DebugFileUploader, self).__init__(request) # lint-amnesty, pylint: disable=super-with-arguments
super().__init__(request)
self.count = 0
def receive_data_chunk(self, raw_data, start):