Beremiz_service.py
changeset 1749 d73b64672238
parent 1747 6046ffa2280f
child 1750 acf02488f37f
--- a/Beremiz_service.py	Wed Aug 16 12:30:31 2017 +0300
+++ b/Beremiz_service.py	Wed Aug 16 12:48:08 2017 +0300
@@ -47,6 +47,7 @@
            working_dir - directory where are stored PLC files
 """ % sys.argv[0]
 
+
 try:
     opts, argv = getopt.getopt(sys.argv[1:], "i:p:n:x:t:a:w:c:e:h")
 except getopt.GetoptError, err:
@@ -159,6 +160,7 @@
         __builtin__.__dict__['_'] = unicode_translation
         # __builtin__.__dict__['_'] = wx.GetTranslation
 
+
 if enablewx:
     try:
         import wxversion
@@ -466,6 +468,7 @@
             self.servicepublisher = None
         self.daemon.shutdown(True)
 
+
 if enabletwisted:
     import warnings
     with warnings.catch_warnings():
@@ -538,6 +541,7 @@
     else:
         traceback.print_exception(*exp)
 
+
 sys.excepthook = LogException
 
 
@@ -555,6 +559,8 @@
                 sys.excepthook(*sys.exc_info())
         self.run = run_with_except_hook
     threading.Thread.__init__ = init
+
+
 installThreadExcepthook()
 
 if havetwisted: