[Python-checkins] r77539 - python/branches/py3k/Modules/binascii.c

antoine.pitrou python-checkins at python.org
Sat Jan 16 19:15:15 CET 2010


Author: antoine.pitrou
Date: Sat Jan 16 19:15:15 2010
New Revision: 77539

Log:
Remove duplicated line when merging (it was even valid C!).
Thanks Florent for noticing.



Modified:
   python/branches/py3k/Modules/binascii.c

Modified: python/branches/py3k/Modules/binascii.c
==============================================================================
--- python/branches/py3k/Modules/binascii.c	(original)
+++ python/branches/py3k/Modules/binascii.c	Sat Jan 16 19:15:15 2010
@@ -561,7 +561,6 @@
 	/* 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;


More information about the Python-checkins mailing list