From e008134145837d454bdddead1333352cb525babb Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 23 May 2018 10:56:23 +0100 Subject: [PATCH] framework/host: Add missing defaults for agenda conversion Ensure that defaults are correctly populated when converting a WA2 agenda to the WA3 style. --- wa/framework/host.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wa/framework/host.py b/wa/framework/host.py index e034dfef..36479770 100644 --- a/wa/framework/host.py +++ b/wa/framework/host.py @@ -81,11 +81,13 @@ def convert_wa2_agenda(filepath, output_path): versions of WA (the old entries are now aliases for this).'''), ConfigurationPoint('device_config', - description='''Generic configuration for device.'''), + description='''Generic configuration for device.''', + default={}), ConfigurationPoint('cleanup_assets', aliases=['clean_up'], description='''Specific whether to clean up assets - deployed to the target'''), + deployed to the target''', + default=True), ]) for param in orig_agenda.keys():