commit | e5afa3b24b97f4dfb014780e4415c0e4961cba34 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat May 23 19:24:37 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat May 23 19:24:37 2009 +0000 |
tree | d1be5525c312aa56152fbf99a968e4f91e3561af | |
parent | f3bd687b2dd1ae509f25182adc6b228036bd3d9a [diff] [blame] |
support building with subversion 1.7 #6094
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 = _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);