Skip to content

Commit

Permalink
Remove unused PKIDeployer.verify_subsystem_does_not_exist()
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Dec 4, 2023
1 parent 1c63133 commit c0048df
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions base/server/python/pki/server/deployment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,20 +1019,6 @@ def verify_subsystem_exists(self):
self.subsystem_type,
self.mdict['pki_instance_name']))

def verify_subsystem_does_not_exist(self):

subsystem_path = os.path.join(
self.instance.base_dir,
self.mdict['pki_subsystem_type'])

if not os.path.exists(subsystem_path):
return

raise Exception(
log.PKI_SUBSYSTEM_ALREADY_EXISTS_2 % (
self.subsystem_type,
self.mdict['pki_instance_name']))

def init_subsystem(self, subsystem):

external = self.configuration_file.external
Expand Down

0 comments on commit c0048df

Please sign in to comment.