summaryrefslogtreecommitdiffhomepage
path: root/ryu/lib/rpc.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/lib/rpc.py')
-rw-r--r--ryu/lib/rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/rpc.py b/ryu/lib/rpc.py
index 010f0a80..adbcb9ae 100644
--- a/ryu/lib/rpc.py
+++ b/ryu/lib/rpc.py
@@ -202,7 +202,7 @@ class EndPoint(object):
# bogus msgid
# XXXwarn
return
- assert not msgid in self._responses
+ assert msgid not in self._responses
self._responses[msgid] = (error, result)
self._incoming += 1