From 922e904cca75577e213f0b9cf126003d251f2ada Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 9 Nov 2010 09:59:13 +0000 Subject: Fix issue10324 - Modules/binascii.c: simplify expressions --- Modules/binascii.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/binascii.c b/Modules/binascii.c index e44c251..01e8860 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -1337,8 +1337,7 @@ binascii_b2a_qp (PyObject *self, PyObject *args, PyObject *kwargs) ((data[in] == '\t' || data[in] == ' ') && (in + 1 == datalen)) || ((data[in] < 33) && (data[in] != '\r') && (data[in] != '\n') && - (quotetabs || - (!quotetabs && ((data[in] != '\t') && (data[in] != ' ')))))) + (quotetabs || ((data[in] != '\t') && (data[in] != ' '))))) { if ((linelen + 3) >= MAXLINESIZE) { linelen = 0; -- cgit v0.12