summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-23 19:35:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-23 19:35:33 (GMT)
commit2eb65457a883d3f231c8e378911c4de2cd644b4c (patch)
tree56813f965df6a111ca86f55bd0cbd021efffeb1b /Python/sysmodule.c
parentf658e82daf46ff46567e9960ba6612d9ba21b9db (diff)
downloadcpython-2eb65457a883d3f231c8e378911c4de2cd644b4c.zip
cpython-2eb65457a883d3f231c8e378911c4de2cd644b4c.tar.gz
cpython-2eb65457a883d3f231c8e378911c4de2cd644b4c.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/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index ff7157f..10ba1cf 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1161,7 +1161,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);