1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

wafsamba: Fix handling of nick name in VERSION.

This commit is contained in:
Jelmer Vernooij 2010-12-24 00:14:04 +01:00
parent bfb9ae2414
commit 8b34a2dff6

View File

@ -167,8 +167,7 @@ also accepted as dictionary entries here
self.STRING = SAMBA_VERSION_STRING
if self.RELEASE_NICKNAME is not None:
self.STRING_WITH_NICKNAME += (" (" + self.RELEASE_NICKNAME + ")")
self.RELEASE_NICKNAME = self.RELEASE_NICKNAME
self.STRING_WITH_NICKNAME = "%s (%s)" % (self.STRING, self.RELEASE_NICKNAME)
else:
self.STRING_WITH_NICKNAME = self.STRING