mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 15:05:16 +00:00
[2676] editorial cleanup: removed unnecessary backslash
This commit is contained in:
@@ -92,7 +92,7 @@ def parse_answer(msg):
|
|||||||
raise ModuleCCSessionError("wrong rcode type in answer message")
|
raise ModuleCCSessionError("wrong rcode type in answer message")
|
||||||
else:
|
else:
|
||||||
if len(msg['result']) > 1:
|
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):
|
type(msg['result'][1]) != str):
|
||||||
raise ModuleCCSessionError("rcode in answer message is non-zero, value is not a string")
|
raise ModuleCCSessionError("rcode in answer message is non-zero, value is not a string")
|
||||||
return msg['result'][0], msg['result'][1]
|
return msg['result'][0], msg['result'][1]
|
||||||
|
Reference in New Issue
Block a user