diff --git a/src/rougail/user-data-environment/data.py b/src/rougail/user-data-environment/data.py index c3bf1bc..50743c0 100644 --- a/src/rougail/user-data-environment/data.py +++ b/src/rougail/user-data-environment/data.py @@ -96,10 +96,8 @@ class RougailUserDataEnvironment: def display_environment(self, option): kwargs = {} option_type = option.information.get('type') - isdefault = option.owner.isdefault() default = option.value.get() ismulti = option.ismulti() - type_obj = None # here we retrieve the conversion func of the considered type # carefull, it could be None -> in this case, do nothing type_obj = CONVERT_OPTION.get(option_type, {}).get("func")