equal
deleted
inserted
replaced
1351 return |
1351 return |
1352 |
1352 |
1353 # Get connector uri |
1353 # Get connector uri |
1354 uri = self.\ |
1354 uri = self.\ |
1355 BeremizRoot.\ |
1355 BeremizRoot.\ |
1356 getTargetType().\ |
|
1357 getcontent()["value"].\ |
|
1358 getConnection().\ |
|
1359 getURI_location().\ |
1356 getURI_location().\ |
1360 strip() |
1357 strip() |
1361 |
1358 |
1362 # if uri is empty launch discovery dialog |
1359 # if uri is empty launch discovery dialog |
1363 if uri == "": |
1360 if uri == "": |
1369 if uri is None: |
1366 if uri is None: |
1370 return |
1367 return |
1371 else: |
1368 else: |
1372 self.\ |
1369 self.\ |
1373 BeremizRoot.\ |
1370 BeremizRoot.\ |
1374 getTargetType().\ |
|
1375 getcontent()["value"].\ |
|
1376 getConnection().\ |
|
1377 setURI_location(uri) |
1371 setURI_location(uri) |
1378 |
1372 |
1379 # Get connector from uri |
1373 # Get connector from uri |
1380 try: |
1374 try: |
1381 self._connector = connectors.ConnectorFactory(uri, self) |
1375 self._connector = connectors.ConnectorFactory(uri, self) |