summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/gen_error_common.py
AgeCommit message (Collapse)AuthorFilesLines
2024-01-15s4:scripting: Remove blank lineJoseph Sutton1-1/+0
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-01-15s4:scripting: Correctly report number of parsed linesJoseph Sutton1-1/+1
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-01-15s4:scripting: Let error definition generation scripts tolerate empty linesJoseph Sutton1-0/+2
Commit beb99b80612556bc47e72a63f89fca75839d91d4 add a similar check just for gen_hresult.py. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-01-15s4:scripting: Initialize line number to (possibly) more appropriate valueJoseph Sutton1-1/+1
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-01-15s4:scripting: Initialize ‘isWinError’ in constructorJoseph Sutton1-0/+1
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2022-05-10python: Use 'is' for identity when comparing against NoneJoseph Sutton1-2/+2
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue May 10 06:12:10 UTC 2022 on sn-devel-184
2018-12-14PY3: change shebang to python3 in source4/scripting/bin dirJoe Guo1-1/+1
Samba default python is 3 now. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
2017-08-22python: scripting: Port ntstatus and werror generators to Python 3 ↵Lumir Balhar1-1/+1
compatible form. Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2017-02-14errors: pull out code into common fileBob Campbell1-0/+82
This is a precursor to generating other types of errors. Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>