Skip to content

Commit

Permalink
Merge pull request #460 from tegitsthub1/patch-2
Browse files Browse the repository at this point in the history
Fix classic RPyC over classic RPyC bug
  • Loading branch information
comrumino committed Nov 8, 2021
2 parents bc8f022 + c509273 commit 3a3be78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpyc/core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ def __getitem__(self, name):
return self.__cache[name]

def __getattr__(self, name):
return self[name]
try:
return self[name]
except ImportError:
raise AttributeError(name)


class Slave(object):
Expand Down

0 comments on commit 3a3be78

Please sign in to comment.