summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-16 06:12:02 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-16 06:12:02 +0000
commit16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152 (patch)
tree258664422833ef5bc307abe574f17d2c68569059 /Python/sysmodule.c
parenta30d8bd6535528b81dfcf1e91880a58cb8c8841d (diff)
downloadcpython-git-16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152.tar.gz
SF #1701207: svnversion_init assertion failed
Revert bogus asserts (added to the wrong place) from rev 52501. Approved by Anthony.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 59f6cfc684..4598a3ce74 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';