connectors/PYRO/dialog.py
changeset 2182 eeca1aff0691
parent 2180 017ad9cc20b9
--- a/connectors/PYRO/dialog.py	Sat Jun 09 17:13:16 2018 +0300
+++ b/connectors/PYRO/dialog.py	Sat Jun 09 17:14:56 2018 +0300
@@ -10,8 +10,9 @@
 from __future__ import print_function
 
 import wx
+from zope.interface import implementer
+
 from controls.UriLocationEditor import IConnectorPanel
-from zope.interface import implementer
 
 URITypes = ["LOCAL", "PYRO", "PYROS"]
 
@@ -19,7 +20,6 @@
 def PYRO_connector_dialog(confnodesroot):
     [ID_IPTEXT, ID_PORTTEXT] = [wx.NewId() for _init_ctrls in range(2)]
 
-
     @implementer(IConnectorPanel)
     class PYROConnectorPanel(wx.Panel):
         def __init__(self, typeConnector, parrent, *args, **kwargs):
@@ -31,8 +31,8 @@
             self.uri = None
 
         def _init_ctrls(self):
-            self.IpText = wx.TextCtrl(parent=self, id=ID_IPTEXT, size = wx.Size(200, -1))
-            self.PortText = wx.TextCtrl(parent=self, id=ID_PORTTEXT, size = wx.Size(200, -1))
+            self.IpText = wx.TextCtrl(parent=self, id=ID_IPTEXT, size=wx.Size(200, -1))
+            self.PortText = wx.TextCtrl(parent=self, id=ID_PORTTEXT, size=wx.Size(200, -1))
 
         def _init_sizers(self):
             self.mainSizer = wx.FlexGridSizer(cols=2, hgap=10, rows=5, vgap=10)
@@ -55,7 +55,6 @@
             elif length == 2:
                 self.IpText.SetValue(uri_list[1].strip("/"))
 
-
         def GetURI(self):
             self.uri = self.type+"://"+self.IpText.GetValue()+":"+self.PortText.GetValue()
             return self.uri