개정판 ce5ca212
issue #1048 : 화면/메뉴/툴바 개발 - Exception Error Message 오타 수정
Change-Id: Ief2cfe7f308281ec82234bd4e8f94902615d95bf
HYTOS/HYTOS/FittingsDialog.py | ||
---|---|---|
605 | 605 |
from App import App |
606 | 606 |
from AppDocData import MessageType |
607 | 607 |
|
608 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
608 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
609 | 609 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
610 | 610 |
|
611 | 611 |
def accept(self): |
... | ... | |
625 | 625 |
from App import App |
626 | 626 |
from AppDocData import MessageType |
627 | 627 |
|
628 |
message = 'error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno) |
|
628 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno)
|
|
629 | 629 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
630 | 630 |
|
631 | 631 |
QDialog.accept(self) |
내보내기 Unified diff