From b70f4b0d9f3ba145b66623ced8c9334f2ca55a09 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 11 Jan 2024 11:13:33 +1300 Subject: [PATCH] s4:scripting: Correctly report number of parsed lines Signed-off-by: Joseph Sutton Reviewed-by: Douglas Bagnall --- source4/scripting/bin/gen_error_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3