Use py3 super syntax
This commit is contained in:
parent
ab92def1a6
commit
a95e67bcae
@ -143,7 +143,7 @@ class Comment(
|
||||
# Naive dates were always stored utc
|
||||
return old_date.replace(tzinfo=timezone.utc)
|
||||
return old_date
|
||||
return super(Comment, self).__getattribute__(attr)
|
||||
return super().__getattribute__(attr)
|
||||
|
||||
@property
|
||||
def __name__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user