From c24240bcd2f833321f45ea4ce0b6c6d080a3b990 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 6 Oct 2010 20:11:01 +1100 Subject: waf: fixed some python3.x portability issues these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild? --- buildtools/wafsamba/samba_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba_version.py') diff --git a/buildtools/wafsamba/samba_version.py b/buildtools/wafsamba/samba_version.py index 82f882f646..735a70002d 100644 --- a/buildtools/wafsamba/samba_version.py +++ b/buildtools/wafsamba/samba_version.py @@ -173,7 +173,7 @@ class samba_version_file(samba_version): value = split_line[1].strip('"') version_dict[split_line[0]] = value except: - print "Failed to parse line %s from %s" % (line, version_file) + print("Failed to parse line %s from %s" % (line, version_file)) raise super(samba_version_file, self).__init__(version_dict, have_git=have_git) -- cgit