Fix py2 compat
This commit is contained in:
pare
6299e7de4f
commit
2b08e2ec83
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -86,7 +86,7 @@ class AttribAccessDict(dict):
|
||||||
def __setattr__(self, attr, val):
|
def __setattr__(self, attr, val):
|
||||||
if attr in self:
|
if attr in self:
|
||||||
raise AttributeError("Attribute-style access is read only")
|
raise AttributeError("Attribute-style access is read only")
|
||||||
super().__setattr__(attr, val)
|
super(AttribAccessDict, self).__setattr__(attr, val)
|
||||||
|
|
||||||
###
|
###
|
||||||
# The actual Mastodon class
|
# The actual Mastodon class
|
||||||
|
|
Loading…
Referencia en una nova incidència