summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-23 19:24:37 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-23 19:24:37 (GMT)
commite5afa3b24b97f4dfb014780e4415c0e4961cba34 (patch)
treed1be5525c312aa56152fbf99a968e4f91e3561af /Python
parentf3bd687b2dd1ae509f25182adc6b228036bd3d9a (diff)
downloadcpython-e5afa3b24b97f4dfb014780e4415c0e4961cba34.zip
cpython-e5afa3b24b97f4dfb014780e4415c0e4961cba34.tar.gz
cpython-e5afa3b24b97f4dfb014780e4415c0e4961cba34.tar.bz2
support building with subversion 1.7 #6094
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 6c22b8f..1146746 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1158,7 +1158,7 @@ svnversion_init(void)
svnversion = _Py_svnversion();
- if (strcmp(svnversion, "exported") != 0)
+ if (strcmp(svnversion, "Unversioned directory") != 0 && strcmp(svnversion, "exported") != 0)
svn_revision = svnversion;
else if (istag) {
len = strlen(_patchlevel_revision);