From a1bf1b2289333d6811f4f18373b050d5706785b7 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 11 Jan 2024 11:11:15 +1300 Subject: [PATCH] s4:scripting: Initialize line number to (possibly) more appropriate value 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 ab701dfac01..00d1aa4c937 100644 --- a/source4/scripting/bin/gen_error_common.py +++ b/source4/scripting/bin/gen_error_common.py @@ -29,7 +29,7 @@ class ErrorDef: self.err_define = None self.err_string = "" self.isWinError = False - self.linenum = "" + self.linenum = None def escapeString( input ): output = input.replace('"','\\"') -- 2.11.4.GIT