equal
deleted
inserted
replaced
35 |
35 |
36 def PYRO_connector_factory(uri, confnodesroot): |
36 def PYRO_connector_factory(uri, confnodesroot): |
37 """ |
37 """ |
38 This returns the connector to Pyro style PLCobject |
38 This returns the connector to Pyro style PLCobject |
39 """ |
39 """ |
40 confnodesroot.logger.write(_("Connecting to URI : %s\n")%uri) |
40 confnodesroot.logger.write(_("PYRO connecting to URI : %s\n")%uri) |
41 |
41 |
42 servicetype, location = uri.split("://") |
42 servicetype, location = uri.split("://") |
43 if location.find(service_type) != -1: |
43 if location.find(service_type) != -1: |
44 try : |
44 try : |
45 from util.Zeroconf import Zeroconf |
45 from util.Zeroconf import Zeroconf |