Skip to content

Commit

Permalink
possible fix for #108
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba committed Jun 6, 2013
1 parent 4c8f53a commit 3faf6c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rpyc/core/vinegar.py
Expand Up @@ -68,7 +68,11 @@ def dump(typ, val, tb, include_local_traceback):
elif name.startswith("_") or name in ignored_attrs:
continue
else:
attrval = getattr(val, name, None)
try:
attrval = getattr(val, name)
except AttributeError:
# skip this attr. see issue #108
continue
if not brine.dumpable(attrval):
attrval = repr(attrval)
attrs.append((name, attrval))
Expand Down

0 comments on commit 3faf6c5

Please sign in to comment.