diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-06 00:43:42 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-06 00:43:42 +0000 |
commit | a98a073200c8c703db0d276c6dff48cdec2f4265 (patch) | |
tree | dacf0d272fe6fe10c7fb1d003913561b646706c6 /Modules/getbuildinfo.c | |
parent | e13463d964767e3ca7792d02d87a71af349977da (diff) | |
download | cpython-a98a073200c8c703db0d276c6dff48cdec2f4265.tar.gz |
Deal with empty svn_revisions.
Diffstat (limited to 'Modules/getbuildinfo.c')
-rw-r--r-- | Modules/getbuildinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c index 3312a87c2b..8e00e4f1e1 100644 --- a/Modules/getbuildinfo.c +++ b/Modules/getbuildinfo.c @@ -25,7 +25,7 @@ Py_GetBuildInfo(void) { static char buildinfo[50]; char *revision = Py_SubversionRevision(); - char *sep = revision ? ":" : ""; + char *sep = *revision ? ":" : ""; char *branch = Py_SubversionShortBranch(); PyOS_snprintf(buildinfo, sizeof(buildinfo), "%s%s%s, %.20s, %.9s", branch, sep, revision, |