Skip to content

Commit

Permalink
paquo.utils: revert readonly cached_property for py36/py37
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Aug 20, 2020
1 parent 8faf1fc commit 1ec84f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paquo/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def __get__(self, obj, objtype=None):
value = obj.__dict__[self.name] = self.getter(obj)
return value

def __set__(self, obj, value):
raise AttributeError(f"readonly attribute {self.name}")
# def __set__(self, obj, value):
# raise AttributeError(f"readonly attribute {self.name}")

try:
from contextlib import nullcontext # type: ignore
Expand Down

0 comments on commit 1ec84f7

Please sign in to comment.