diff options
| author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2024-01-11 11:13:33 +1300 |
|---|---|---|
| committer | Joseph Sutton <jsutton@samba.org> | 2024-01-15 00:48:40 +0000 |
| commit | b70f4b0d9f3ba145b66623ced8c9334f2ca55a09 (patch) | |
| tree | 51b83d8c14284513646f9699f47bfde1f9680101 /source4/scripting | |
| parent | 484a1a301aa5bab600306bea0170b1464beb9660 (diff) | |
| download | samba-b70f4b0d9f3ba145b66623ced8c9334f2ca55a09.tar.gz samba-b70f4b0d9f3ba145b66623ced8c9334f2ca55a09.tar.bz2 samba-b70f4b0d9f3ba145b66623ced8c9334f2ca55a09.zip | |
s4:scripting: Correctly report number of parsed lines
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/scripting')
| -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 759d059db3d..f4409bf9f6b 100644 --- a/source4/scripting/bin/gen_error_common.py +++ b/source4/scripting/bin/gen_error_common.py @@ -79,7 +79,7 @@ def parseErrorDescriptions( file_contents, isWinError, transformErrorFunction ): err.err_string = desc else: err.err_string = err.err_string + " " + desc - count = count + 1 + count = count + 1 print("parsed %d lines generated %d error definitions"%(count,len(errors))) return errors |
