From e5afa3b24b97f4dfb014780e4415c0e4961cba34 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 23 May 2009 19:24:37 +0000 Subject: support building with subversion 1.7 #6094 --- 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 6c22b8f7c9..1146746873 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); -- cgit v1.2.1