From 764ff2ebca95739e303e3fe10a885bc64c0f3c5b Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Thu, 5 Jan 2012 19:58:06 +0100
Subject: [PATCH] rpc: Style fix
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

β€œassert” is a statement, not a function.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/rpc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rpc.py b/lib/rpc.py
index 126984516..fa6aae242 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)
 
-- 
GitLab