9 + if os.environ.get('JUJU', False):
This can be written as:
juju_command = os.getenv('JUJU', '').strip() if not juju_command: juju_command = platform_support.get_juju_command(options.platform)
However, I'd like this logic to be placed in get_juju_command(), so that the function can still be potentially re-used in other parts of the code.
« Back to merge proposal
9 + if os.environ. get('JUJU' , False):
This can be written as:
juju_command = os.getenv('JUJU', '').strip() support. get_juju_ command( options. platform)
if not juju_command:
juju_command = platform_
However, I'd like this logic to be placed in get_juju_command(), so that the function can still be potentially re-used in other parts of the code.