fix a bug because python changed pickle behavour apparently?
This commit is contained in:
parent
e1438dda19
commit
cb33be5125
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ class RouterWayType:
|
|||
self.nonupwards_indices = deque()
|
||||
|
||||
def __getattr__(self, name):
|
||||
if name == '__setstate__':
|
||||
if name in ('__getstate__', '__setstate__'):
|
||||
raise AttributeError
|
||||
return getattr(self.src, name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue