connectors/PYRO/__init__.py
changeset 1440 e8daabf2c438
parent 1434 6e0cd0ceabb7
child 1441 826730e60407
equal deleted inserted replaced
1439:a68cd4253259 1440:e8daabf2c438
    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