프로젝트

일반

사용자정보

개정판 ce5ca212

IDce5ca21265835b1c8538b49785c1ba8c4c9edcc9
상위 d20c56f1
하위 5bcb1a4f

김연진이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)