diff --git a/lib/rpc.py b/lib/rpc.py index 126984516a43d679d9648d5b13dd3eff5ef304c2..fa6aae2428fa06465fea3dc22498fe287ee0ce5e 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -470,7 +470,7 @@ class _RpcClientBase: else: # for a custom prep_fn, we pass the encoded arguments and the # node name to the prep_fn, and we serialise its return value - assert(callable(prep_fn)) + assert callable(prep_fn) pnbody = dict((n, serializer.DumpJson(prep_fn(n, enc_args))) for n in node_list)