git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce290e
)
s4:scripting: Remove trailing whitespace
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Thu, 11 Jan 2024 20:57:54 +0000
(09:57 +1300)
committer
Joseph Sutton
<jsutton@samba.org>
Mon, 15 Jan 2024 00:48:40 +0000
(
00:48
+0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/scripting/bin/gen_ntstatus.py
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/gen_ntstatus.py
b/source4/scripting/bin/gen_ntstatus.py
index e4b0ad8e42887ff7a7be659afc0650abc081795e..13f5fa1c7561396ff2a9ec59fe58e2e61d83d6f7 100755
(executable)
--- a/
source4/scripting/bin/gen_ntstatus.py
+++ b/
source4/scripting/bin/gen_ntstatus.py
@@
-88,7
+88,7
@@
def generatePythonFile(out_file, errors):
out_file.write("\tif (m == NULL)\n")
out_file.write("\t\treturn NULL;\n\n")
for err in errors:
- line = """\tPyModule_AddObject(m, \"%s\",
+ line = """\tPyModule_AddObject(m, \"%s\",
\t\tPyLong_FromUnsignedLongLong(NT_STATUS_V(%s)));\n""" % (err.err_define, err.err_define)
out_file.write(line)
out_file.write("\n")