From 16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 16 Apr 2007 06:12:02 +0000 Subject: SF #1701207: svnversion_init assertion failed Revert bogus asserts (added to the wrong place) from rev 52501. Approved by Anthony. --- Python/sysmodule.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 59f6cfc..4598a3c 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -997,8 +997,6 @@ svnversion_init(void) } 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'; -- cgit v0.12