Skip to content

Commit

Permalink
fix: flex-linux-setup code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Apr 30, 2022
1 parent b2252c8 commit 4a97270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flex-linux-setup/flex_linux_setup/flex_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def install_gluu_admin_ui(self):
plugins = config_api_installer.get_plugins()

for plugin in plugins:
if not plugin in current_plugins:
if plugin not in current_plugins:
current_plugins.append(plugin)

config['DEFAULT']['jca_plugins'] = ','.join(current_plugins)
Expand Down Expand Up @@ -343,7 +343,7 @@ def install_casa(self):

https_jans_text = self.readFile(httpd_installer.https_jans_fn)

if not '<Location /casa>' in https_jans_text:
if '<Location /casa>' not in https_jans_text:

https_jans_list = https_jans_text.splitlines()
n = 0
Expand Down

0 comments on commit 4a97270

Please sign in to comment.