Fix for indentation issue

Wrong indentation of line 182 meant that even where config options
were given, the default per backend was being used, rendering
custom config useless.
This commit is contained in:
Aidan Bracher 2020-07-15 16:29:27 +01:00
parent 5de82628fa
commit 1e5ee5823c

View File

@ -179,8 +179,8 @@ def main():
print("Available choices for this backend (get complete list with --lists/-l):")
list_configurations(backend=cmdargs.target, scm=scm)
sys.exit(ERR_CONFIG_REQUIRED)
if backend_class.default_config is not None:
cmdargs.config = backend_class.default_config
if backend_class.default_config is not None:
cmdargs.config = backend_class.default_config
if cmdargs.config:
order = 0