Commit 0d893b54 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2857] Assert type of parameter

parent a5c4d0ad
......@@ -128,6 +128,7 @@ class Memmgr(BIND10Server):
"""
Send a command to the builder, with proper synchronization.
"""
assert isinstance(cmd, tuple)
with self._builder_cv:
self._builder_command_queue.append(cmd)
self._builder_cv.notify_all()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment