Removed unneeded parentheses in class definitions
This commit is contained in:
parent
f5bf11c72b
commit
068cd60366
|
@ -123,7 +123,7 @@ def sanitize_address(addr, encoding):
|
|||
return str(address)
|
||||
|
||||
|
||||
class MIMEMixin():
|
||||
class MIMEMixin:
|
||||
def as_string(self, unixfrom=False, linesep='\n'):
|
||||
"""Return the entire formatted message as a string.
|
||||
Optional `unixfrom' when True, means include the Unix From_ envelope
|
||||
|
|
|
@ -21,7 +21,7 @@ if Image:
|
|||
from .models import temp_storage_dir
|
||||
else:
|
||||
# Pillow not available, create dummy classes (tests will be skipped anyway)
|
||||
class Person():
|
||||
class Person:
|
||||
pass
|
||||
PersonWithHeight = PersonWithHeightAndWidth = PersonDimensionsFirst = Person
|
||||
PersonTwoImages = Person
|
||||
|
|
Loading…
Reference in New Issue