s4:scripting: Initialize line number to (possibly) more appropriate value
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 10 Jan 2024 22:11:15 +0000 (11:11 +1300)
committerJoseph 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_error_common.py

index ab701dfac01a4d4975ec775dbbf7644ff1af7065..00d1aa4c9377f5a463ba68e8a5a634aba7438245 100644 (file)
@@ -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('"','\\"')