@@ -139,10 +139,10 @@ def readErrorCodes( callback, replaceZero = False ):
139
139
# re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ),
140
140
# re.compile( "((fassertFailed)()) *\(( *)(\d+)" )
141
141
# ]
142
- ps = [ re .compile ( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) ,
143
- re .compile ( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) ,
142
+ ps = [ re .compile ( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S ) *,?" ) ,
143
+ re .compile ( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S ) *,?" ) ,
144
144
re .compile ( "((fasser(t|ted))) *\(( *)(\d+)()" ) ,
145
- re .compile ( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+) *,?" ),
145
+ re .compile ( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+.+\S ) *,?" ),
146
146
re .compile ( "((fassertFailed)()) *\(( *)(\d+)()" )
147
147
]
148
148
@@ -330,7 +330,7 @@ def genErrorOutputCSV():
330
330
f = f [2 :]
331
331
fn = f .rpartition ("/" )[2 ]
332
332
333
- out .write ('"{}","{}","{}","{}"' .format (num , getBestMessage (line , str (num )),f ,l ))
333
+ out .write ('"{}","{}","{}","{}","{}","{}" ' .format (num , getBestMessage (line , str (num )),f ,l , message , severity ))
334
334
335
335
out .write ("\n " )
336
336
@@ -339,7 +339,7 @@ def genErrorOutputCSV():
339
339
if __name__ == "__main__" :
340
340
ok = checkErrorCodes ()
341
341
print ( "ok:" + str ( ok ) )
342
- print ( "next: " + str ( getNextCode () ) )
342
+ # print( "next: " + str( getNextCode() ) )
343
343
if ok :
344
344
genErrorOutput ()
345
345
genErrorOutputCSV ()
0 commit comments