diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-07 07:29:38 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-06-07 07:29:38 +0200 |
| commit | 929a5981c717d2e72e4b181b1a81d0b181d6b411 (patch) | |
| tree | 029b868566e21737a013a89b7fef8d1b257c923b /genconfig.py | |
| parent | 3ead645398eb6a64ee606d258365d7c129cfb339 (diff) | |
genconfig: Code ordering nit
Match the order the flags are defined.
Diffstat (limited to 'genconfig.py')
| -rwxr-xr-x | genconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/genconfig.py b/genconfig.py index e298b14..bb3e6ff 100755 --- a/genconfig.py +++ b/genconfig.py @@ -105,6 +105,9 @@ only supported for backwards compatibility). if args.config_out is not None: kconf.write_config(args.config_out, save_old=False) + if args.sync_deps is not None: + kconf.sync_deps(args.sync_deps) + if args.file_list is not None: with _open_write(args.file_list) as f: for path in kconf.kconfig_filenames: @@ -115,9 +118,6 @@ only supported for backwards compatibility). for env_var in kconf.env_vars: f.write("{}={}\n".format(env_var, os.environ[env_var])) - if args.sync_deps is not None: - kconf.sync_deps(args.sync_deps) - def _open_write(path): # Python 2/3 compatibility. io.open() is available on both, but makes |
