From: Joseph Sutton Date: Wed, 10 Jan 2024 22:13:33 +0000 (+1300) Subject: s4:scripting: Correctly report number of parsed lines X-Git-Tag: talloc-2.4.2~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b70f4b0d9f3ba145b66623ced8c9334f2ca55a09;p=thirdparty%2Fsamba.git s4:scripting: Correctly report number of parsed lines Signed-off-by: Joseph Sutton Reviewed-by: Douglas Bagnall --- 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