summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/gen_error_common.py
diff options
context:
space:
mode:
authorLumir Balhar <lbalhar@redhat.com>2017-08-08 10:56:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-22 13:47:15 +0200
commit051a3ff6eb7dad08202b13aadbc6829370cc3f4b (patch)
tree4a6c14c3c6fa5791821fe767e27b43864a4f2479 /source4/scripting/bin/gen_error_common.py
parentfe9067bcc7d605ef0df5721ea290f920f6cf241e (diff)
downloadsamba-051a3ff6eb7dad08202b13aadbc6829370cc3f4b.tar.gz
python: scripting: Port ntstatus and werror generators to Python 3 compatible form.
Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/bin/gen_error_common.py')
-rw-r--r--source4/scripting/bin/gen_error_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/gen_error_common.py b/source4/scripting/bin/gen_error_common.py
index a55baeaf788..ab86c4d2842 100644
--- a/source4/scripting/bin/gen_error_common.py
+++ b/source4/scripting/bin/gen_error_common.py
@@ -77,6 +77,6 @@ def parseErrorDescriptions( file_contents, isWinError, transformErrorFunction ):
else:
err.err_string = err.err_string + " " + desc
count = count + 1
- print "parsed %d lines generated %d error definitions"%(count,len(errors))
+ print("parsed %d lines generated %d error definitions"%(count,len(errors)))
return errors