From: JINMEI Tatuya Date: Tue, 19 Feb 2013 17:58:19 +0000 (-0800) Subject: [2676] editorial cleanup: removed unnecessary backslash X-Git-Tag: bind10-1.1.0beta1-release~83^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ddbe715a140ddcd4d6c2cdea1401ec0e28ea89d;p=thirdparty%2Fkea.git [2676] editorial cleanup: removed unnecessary backslash --- diff --git a/src/lib/python/isc/config/ccsession.py b/src/lib/python/isc/config/ccsession.py index 57a9bd23cf..a5858a7453 100644 --- a/src/lib/python/isc/config/ccsession.py +++ b/src/lib/python/isc/config/ccsession.py @@ -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]