개정판 342a9003
issue #000: check equip db too
Change-Id: Idd9a04b484d128eaa0567fd6ddf6a5486c196921
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
2795 | 2795 |
# Roll back any change if something goes wrong |
2796 | 2796 |
conn.rollback() |
2797 | 2797 |
|
2798 |
#print(sql)
|
|
2798 |
print(sql) |
|
2799 | 2799 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
2800 | 2800 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
2801 | 2801 |
finally: |
DTI_PID/DTI_PID/Shapes/EngineeringEquipmentItem.py | ||
---|---|---|
267 | 267 |
|
268 | 268 |
return res |
269 | 269 |
''' |
270 |
return (sql, tuple(param)) |
|
270 |
#return (sql, tuple(param)) |
|
271 |
return None |
|
271 | 272 |
|
272 | 273 |
''' |
273 | 274 |
@brief return equip Data List |
내보내기 Unified diff