diff --git a/src/swsssdk/dbconnector.py b/src/swsssdk/dbconnector.py index 579ab21e3fca..c5bc26d11bf2 100644 --- a/src/swsssdk/dbconnector.py +++ b/src/swsssdk/dbconnector.py @@ -233,11 +233,6 @@ def __init__(self, use_unix_socket_path=False, namespace=None, **kwargs): """ self.namespace = namespace - # The TCP connection to a DB in another namespace in not supported. - if namespace is not None and use_unix_socket_path == False: - message = "TCP connectivity to the DB instance in a different namespace is not implemented!" - raise NotImplementedError(message) - for db_name in self.get_db_list(): # set a database name as a constant value attribute. setattr(self, db_name, db_name)