diff options
author | Lumir Balhar <lbalhar@redhat.com> | 2017-08-08 10:56:17 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-08-22 13:47:15 +0200 |
commit | 051a3ff6eb7dad08202b13aadbc6829370cc3f4b (patch) | |
tree | 4a6c14c3c6fa5791821fe767e27b43864a4f2479 /source4/scripting/bin/gen_error_common.py | |
parent | fe9067bcc7d605ef0df5721ea290f920f6cf241e (diff) | |
download | samba-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.py | 2 |
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 |