summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-09 09:59:13 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-09 09:59:13 (GMT)
commit922e904cca75577e213f0b9cf126003d251f2ada (patch)
treed085306299bd7c7380ca70dee6103cacb8e8ae80 /Modules
parent4fe519bf8db535ec9de732fd74d472820d7deb75 (diff)
downloadcpython-922e904cca75577e213f0b9cf126003d251f2ada.zip
cpython-922e904cca75577e213f0b9cf126003d251f2ada.tar.gz
cpython-922e904cca75577e213f0b9cf126003d251f2ada.tar.bz2
Fix issue10324 - Modules/binascii.c: simplify expressions
Diffstat (limited to 'Modules')
-rw-r--r--Modules/binascii.c3
1 files changed, 1 insertions, 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;