From 27b251b5f64aff569fc0413c2095fd0af7be10a7 Mon Sep 17 00:00:00 2001 From: gwen Date: Tue, 10 Sep 2024 09:29:30 +0200 Subject: [PATCH] cleaning --- src/rougail/user-data-environment/data.py | 2 -- 1 file changed, 2 deletions(-) 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")