Commit 682ea37c authored by Naoki Kambe's avatar Naoki Kambe

[trac521] add string-casting for the verbose message

parent de3c708f
...@@ -272,7 +272,7 @@ class BoB: ...@@ -272,7 +272,7 @@ class BoB:
def command_handler(self, command, args): def command_handler(self, command, args):
if self.verbose: if self.verbose:
sys.stdout.write("[bind10] Boss got command: " + command + "\n") sys.stdout.write("[bind10] Boss got command: " + str(command) + "\n")
answer = isc.config.ccsession.create_answer(1, "command not implemented") answer = isc.config.ccsession.create_answer(1, "command not implemented")
if type(command) != str: if type(command) != str:
answer = isc.config.ccsession.create_answer(1, "bad command") answer = isc.config.ccsession.create_answer(1, "bad command")
......
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