[Python-checkins] r54836 - python/branches/release25-maint/Python/sysmodule.c (original) (raw)

neal.norwitz python-checkins at python.org
Mon Apr 16 08:12:03 CEST 2007


Author: neal.norwitz Date: Mon Apr 16 08:12:02 2007 New Revision: 54836

Modified: python/branches/release25-maint/Python/sysmodule.c Log: SF #1701207: svnversion_init assertion failed

Revert bogus asserts (added to the wrong place) from rev 52501.

Approved by Anthony.

Modified: python/branches/release25-maint/Python/sysmodule.c

--- python/branches/release25-maint/Python/sysmodule.c (original) +++ python/branches/release25-maint/Python/sysmodule.c Mon Apr 16 08:12:02 2007 @@ -997,8 +997,6 @@ } else if (istag || strncmp(br_start, "branches", 8) == 0) { len = br_end2 - br_start; - assert(len >= 13); - assert(len < (sizeof(patchlevel_revision) - 13)); strncpy(branch, br_start, len); branch[len] = '\0';


More information about the Python-checkins mailing list