PLCOpenEditor.py
changeset 1736 7e61baa047f0
parent 1734 750eeb7230a1
child 1737 a39c2918c015
--- a/PLCOpenEditor.py	Mon Aug 14 22:30:41 2017 +0300
+++ b/PLCOpenEditor.py	Mon Aug 14 23:27:15 2017 +0300
@@ -94,6 +94,7 @@
 [ID_PLCOPENEDITORFILEMENUGENERATE,
 ] = [wx.NewId() for _init_coll_FileMenu_Items in range(1)]
 
+
 class PLCOpenEditor(IDEFrame):
 
     # Compatibility function for wx versions < 2.6
@@ -403,6 +404,7 @@
 
 Max_Traceback_List_Size = 20
 
+
 def Display_Exception_Dialog(e_type,e_value,e_tb):
     trcbck_lst = []
     for i,line in enumerate(traceback.extract_tb(e_tb)):
@@ -441,11 +443,13 @@
 
     return res
 
+
 def Display_Error_Dialog(e_value):
     message = wx.MessageDialog(None, str(e_value), _("Error"), wx.OK|wx.ICON_ERROR)
     message.ShowModal()
     message.Destroy()
 
+
 def get_last_traceback(tb):
     while tb.tb_next:
         tb = tb.tb_next
@@ -458,6 +462,7 @@
 
 ignored_exceptions = [] # a problem with a line in a module is only reported once per session
 
+
 def AddExceptHook(path, app_version='[No version]'):#, ignored_exceptions=[]):
 
     def handle_exception(e_type, e_value, e_traceback):