summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_version.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/wafsamba/samba_version.py b/buildtools/wafsamba/samba_version.py
index f0e7b4d0caf..5df7ddbcb3d 100644
--- a/buildtools/wafsamba/samba_version.py
+++ b/buildtools/wafsamba/samba_version.py
@@ -173,10 +173,10 @@ also accepted as dictionary entries here
self.STRING_WITH_NICKNAME = self.STRING
def __str__(self):
- string="/* Autogenerated by waf */\n"
- string+="#define SAMBA_VERSION_MAJOR %u\n" % self.MAJOR
- string+="#define SAMBA_VERSION_MINOR %u\n" % self.MINOR
- string+="#define SAMBA_VERSION_RELEASE %u\n" % self.RELEASE
+ string="/* Autogenerated by waf */\n" +\
+ "#define SAMBA_VERSION_MAJOR %u\n" % self.MAJOR +\
+ "#define SAMBA_VERSION_MINOR %u\n" % self.MINOR +\
+ "#define SAMBA_VERSION_RELEASE %u\n" % self.RELEASE
if self.REVISION is not None:
string+="#define SAMBA_VERSION_REVISION %u\n" % self.REVISION