summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-16 06:12:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-16 06:12:02 (GMT)
commit16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152 (patch)
tree258664422833ef5bc307abe574f17d2c68569059
parenta30d8bd6535528b81dfcf1e91880a58cb8c8841d (diff)
downloadcpython-16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152.zip
cpython-16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152.tar.gz
cpython-16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152.tar.bz2
SF #1701207: svnversion_init assertion failed
Revert bogus asserts (added to the wrong place) from rev 52501. Approved by Anthony.
-rw-r--r--Python/sysmodule.c2
1 files changed, 0 insertions, 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';