From b9c1fe41d97031143806377b5e26e6f2c36ac407 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Mon, 9 Apr 2018 09:26:11 -0500 Subject: [PATCH] Print macros in a readable way --- tools/get_config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/get_config.py b/tools/get_config.py index 5f20095aee..b69ff9b1de 100644 --- a/tools/get_config.py +++ b/tools/get_config.py @@ -73,9 +73,8 @@ if __name__ == '__main__': print("Macros") print("------") - if macros: - print('Defined with "macros":', Config.config_macros_to_macros(macros)) - print("Generated from configuration parameters:", Config.parameters_to_macros(params)) + for m in Config.config_macros_to_macros(macros): + print(m) except KeyboardInterrupt as e: print("\n[CTRL+c] exit")