From f53eec88013b75bed1a676b57b323230fbf77959 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 23 May 2009 19:36:27 +0000 Subject: 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 ........ --- Python/sysmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index b9d5dbaefee..6639acc7d10 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); -- cgit v1.2.3