From 175e3722d727f62ab297a92a6b5a21b30503d640 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 25 Sep 2024 17:52:05 -0500 Subject: [PATCH] Remove unused Namespace class --- base/server/python/pki/server/deployment/__init__.py | 2 -- base/server/python/pki/server/deployment/pkihelper.py | 9 --------- 2 files changed, 11 deletions(-) diff --git a/base/server/python/pki/server/deployment/__init__.py b/base/server/python/pki/server/deployment/__init__.py index 55fcac4b673..953485d51b7 100644 --- a/base/server/python/pki/server/deployment/__init__.py +++ b/base/server/python/pki/server/deployment/__init__.py @@ -96,7 +96,6 @@ def __init__(self): self.instance = None self.identity = None - self.namespace = None self.configuration_file = None self.war = None self.password = None @@ -184,7 +183,6 @@ def init(self): # Utility objects self.identity = util.Identity(self) - self.namespace = util.Namespace(self) self.configuration_file = util.ConfigurationFile(self) self.password = util.Password(self) self.hsm = util.HSM(self) diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py index 39d8a20680b..684494841a1 100644 --- a/base/server/python/pki/server/deployment/pkihelper.py +++ b/base/server/python/pki/server/deployment/pkihelper.py @@ -283,15 +283,6 @@ def add_user_to_group(self, pki_user, pki_group): return -class Namespace: - """PKI Deployment Namespace Class""" - - # Silently verify that the selected 'pki_instance_name' will - # NOT produce any namespace collisions - def __init__(self, deployer): - self.mdict = deployer.mdict - - class ConfigurationFile: """PKI Deployment Configuration File Class"""