connectors/__init__.py
changeset 3847 832c257d5618
parent 3776 1fbc900ca1ce
child 3884 34da877021d5
equal deleted inserted replaced
3846:cf027bfe2653 3847:832c257d5618
    60             for scheme in module.Schemes:
    60             for scheme in module.Schemes:
    61                 per_URI_connectors[scheme] = getattr(module, con_name + '_dialog')
    61                 per_URI_connectors[scheme] = getattr(module, con_name + '_dialog')
    62                 schemes += [scheme]
    62                 schemes += [scheme]
    63 
    63 
    64 
    64 
    65 LocalHost = os.environ.get("BEREMIZ_LOCAL_HOST", "localhost")
    65 LocalHost = os.environ.get("BEREMIZ_LOCAL_HOST", "127.0.0.1")
    66 
    66 
    67 def ConnectorFactory(uri, confnodesroot):
    67 def ConnectorFactory(uri, confnodesroot):
    68     """
    68     """
    69     Return a connector corresponding to the URI
    69     Return a connector corresponding to the URI
    70     or None if cannot connect to URI
    70     or None if cannot connect to URI