Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbc8660

Browse files
committed
Enhanced compatibly with previous (non-released) version of zerorpc.
1 parent f58b611 commit dbc8660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/zerorpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def zerorpc_inspect(client, method=None, long_doc=True, include_argspec=True):
131131

132132
longest_name_len = max(len(name) for name, doc in r)
133133
return (longest_name_len, r)
134-
except zerorpc.RemoteError:
134+
except (zerorpc.RemoteError, NameError):
135135
pass
136136

137137
if method is None:

0 commit comments

Comments
 (0)