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)
|
return str(address)
|
||||||
|
|
||||||
|
|
||||||
class MIMEMixin():
|
class MIMEMixin:
|
||||||
def as_string(self, unixfrom=False, linesep='\n'):
|
def as_string(self, unixfrom=False, linesep='\n'):
|
||||||
"""Return the entire formatted message as a string.
|
"""Return the entire formatted message as a string.
|
||||||
Optional `unixfrom' when True, means include the Unix From_ envelope
|
Optional `unixfrom' when True, means include the Unix From_ envelope
|
||||||
|
|
|
@ -21,7 +21,7 @@ if Image:
|
||||||
from .models import temp_storage_dir
|
from .models import temp_storage_dir
|
||||||
else:
|
else:
|
||||||
# Pillow not available, create dummy classes (tests will be skipped anyway)
|
# Pillow not available, create dummy classes (tests will be skipped anyway)
|
||||||
class Person():
|
class Person:
|
||||||
pass
|
pass
|
||||||
PersonWithHeight = PersonWithHeightAndWidth = PersonDimensionsFirst = Person
|
PersonWithHeight = PersonWithHeightAndWidth = PersonDimensionsFirst = Person
|
||||||
PersonTwoImages = Person
|
PersonTwoImages = Person
|
||||||
|
|
Loading…
Reference in New Issue