]> granicus.if.org Git - python/commitdiff
Remove duplicated line when merging (it was even valid C!).
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 16 Jan 2010 18:15:15 +0000 (18:15 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 16 Jan 2010 18:15:15 +0000 (18:15 +0000)
Thanks Florent for noticing.

Modules/binascii.c

index 289225b03e5cb52886c76dfd95360fa9e2c0b42f..38d22abcd1a0317a162a22fba5da26425ad9db21 100644 (file)
@@ -561,7 +561,6 @@ binascii_a2b_hqx(PyObject *self, PyObject *args)
        /* Allocate a string that is too big (fixed later) 
           Add two to the initial length to prevent interning which
           would preclude subsequent resizing.  */
-       if ( (rv=PyBytes_FromStringAndSize(NULL, len+2)) == NULL )
        if ( (rv=PyBytes_FromStringAndSize(NULL, len+2)) == NULL ) {
                PyBuffer_Release(&pascii);
                return NULL;