mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-27 05:43:09 +00:00
remove unnecessary brackets in conditions (#10328)
* remove unnecessary brackets in conditions * add changelog frag
This commit is contained in:
@@ -19,7 +19,7 @@ class PythonRunner(CmdRunner):
|
||||
self.venv = venv
|
||||
self.has_venv = venv is not None
|
||||
|
||||
if (os.path.isabs(python) or '/' in python):
|
||||
if os.path.isabs(python) or '/' in python:
|
||||
self.python = python
|
||||
elif self.has_venv:
|
||||
if path_prefix is None:
|
||||
|
||||
Reference in New Issue
Block a user