trivial: remove obsolete pylint disabling of old-style class warnings

This commit is contained in:
Frédéric Péters 2021-03-14 17:33:09 +01:00
parent 60f215786a
commit c27e98cc84
4 changed files with 4 additions and 4 deletions

View File

@ -649,7 +649,7 @@ class CheckboxWidget(quixote.form.CheckboxWidget):
self.value = True
class UploadedFile: # pylint: disable=C1001
class UploadedFile:
def __init__(self, directory, filename, upload):
self.directory = directory
self.base_filename = upload.base_filename

View File

@ -29,7 +29,7 @@ from wcs.workflows import (
import sys
class JournalEvolutionPart: # pylint: disable=C1001
class JournalEvolutionPart:
content = None
to = None

View File

@ -39,7 +39,7 @@ from wcs.workflows import (
from wcs.wscalls import call_webservice, get_app_error_code
class JournalWsCallErrorPart: # pylint: disable=C1001
class JournalWsCallErrorPart:
content = None
data = None
label = None

View File

@ -168,7 +168,7 @@ class AttachmentsSubstitutionProxy(object):
raise AttributeError(name)
class AttachmentEvolutionPart: # pylint: disable=C1001
class AttachmentEvolutionPart:
orig_filename = None
base_filename = None
content_type = None