equal
deleted
inserted
replaced
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 |