개정판 ce5ca212
issue #1048 : 화면/메뉴/툴바 개발 - Exception Error Message 오타 수정
Change-Id: Ief2cfe7f308281ec82234bd4e8f94902615d95bf
HYTOS/HYTOS/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
237 | 237 |
from App import App |
238 | 238 |
from AppDocData import MessageType |
239 | 239 |
|
240 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
240 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
241 | 241 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
242 | 242 |
|
243 | 243 |
return _attrs |
... | ... | |
290 | 290 |
from App import App |
291 | 291 |
from AppDocData import MessageType |
292 | 292 |
|
293 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
293 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
294 | 294 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
295 | 295 |
|
296 | 296 |
return end_breaks |
... | ... | |
311 | 311 |
from App import App |
312 | 312 |
from AppDocData import MessageType |
313 | 313 |
|
314 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
314 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
315 | 315 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
316 | 316 |
|
317 | 317 |
return visited |
... | ... | |
399 | 399 |
from App import App |
400 | 400 |
from AppDocData import MessageType |
401 | 401 |
|
402 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
402 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
403 | 403 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
404 | 404 |
|
405 | 405 |
if dataList[0] == '': |
내보내기 Unified diff