summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-23 19:36:27 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-23 19:36:27 (GMT)
commitf53eec88013b75bed1a676b57b323230fbf77959 (patch)
treec42721fa94a04ac3a60b2b5b6287749cf6857440 /Python
parent716c444edcac0f32c6d82d530db2e6495e3d2be9 (diff)
downloadcpython-f53eec88013b75bed1a676b57b323230fbf77959.zip
cpython-f53eec88013b75bed1a676b57b323230fbf77959.tar.gz
cpython-f53eec88013b75bed1a676b57b323230fbf77959.tar.bz2
Merged revisions 72871-72872 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line support building with subversion 1.7 #6094 ........ r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line reorder name ........
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 b9d5dba..6639acc 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1115,7 +1115,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);