_calc_requirement is a set, not a tuple
[tiramisu.git] / tiramisu / option.py
index 383c644..479dbdd 100644 (file)
@@ -925,9 +925,9 @@ class OptionDescription(BaseInformation):
 def validate_requires_arg(requires, name):
     """check malformed requirements
     and tranform dict to internal tuple
-    
-    :param requires: have a look at the 
-                     :meth:`tiramisu.setting.Settings.apply_requires` method to 
+
+    :param requires: have a look at the
+                     :meth:`tiramisu.setting.Settings.apply_requires` method to
                      know more about
                      the description of the requires dictionnary
     """
@@ -1009,4 +1009,4 @@ def validate_requires_arg(requires, name):
                                      require[5])
             ret_action.append(req)
         ret.append(tuple(ret_action))
-    return tuple(config_action.keys()), tuple(ret)
+    return frozenset(config_action.keys()), tuple(ret)