2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[2676] editorial cleanup: removed unnecessary backslash

This commit is contained in:
JINMEI Tatuya
2013-02-19 09:58:19 -08:00
parent 3bec0f1f82
commit 3ddbe715a1

View File

@@ -92,7 +92,7 @@ def parse_answer(msg):
raise ModuleCCSessionError("wrong rcode type in answer message")
else:
if len(msg['result']) > 1:
if (msg['result'][0] != CC_REPLY_SUCCESS and \
if (msg['result'][0] != CC_REPLY_SUCCESS and
type(msg['result'][1]) != str):
raise ModuleCCSessionError("rcode in answer message is non-zero, value is not a string")
return msg['result'][0], msg['result'][1]