Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Sep 29, 2021
1 parent dd627b3 commit 7bd67c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/server/python/pki/server/deployment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def setup_system_certs(self, subsystem, client):

def load_admin_cert(self, subsystem):

logger.info ('load_admin_cert')
logger.info('load_admin_cert')

standalone = config.str2bool(self.mdict['pki_standalone'])
external_step_two = config.str2bool(self.mdict['pki_external_step_two'])
Expand Down Expand Up @@ -979,7 +979,7 @@ def get_admin_cert(self, subsystem, client):
if config.str2bool(self.mdict['pki_import_admin_cert']):
b64cert = self.load_admin_cert(subsystem)
else:
if external_step_two and subsystem.type!='CA' :
if external_step_two and subsystem.type != 'CA':
logger.info('get_admin_cert: pki_external_step_two True')
b64cert = self.load_admin_cert(subsystem)
self.config_client.process_admin_p12()
Expand Down

0 comments on commit 7bd67c3

Please sign in to comment.