(ErrorType, Msg, TableName, ItemId)
| 52 | return EccGlobalData.gConfig |
| 53 | |
| 54 | def PrintErrorMsg(ErrorType, Msg, TableName, ItemId): |
| 55 | Msg = Msg.replace('\n', '').replace('\r', '') |
| 56 | MsgPartList = Msg.split() |
| 57 | Msg = '' |
| 58 | for Part in MsgPartList: |
| 59 | Msg += Part |
| 60 | Msg += ' ' |
| 61 | GetDB().TblReport.Insert(ErrorType, OtherMsg=Msg, BelongsToTable=TableName, BelongsToItem=ItemId) |
| 62 | |
| 63 | def GetIdType(Str): |
| 64 | Type = DataClass.MODEL_UNKNOWN |
no test coverage detected