X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=f71f0e1037cd3342f4cf8f06c3312beddf081b4b;hb=0896e23ade8d8ebc863c17f6bed66a94fd5328f2;hp=4fbc1b9c600d13a257444a14ff6c924cc436b033;hpb=634d5324eca8e727dfb77493eff9804091dc1d15;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 4fbc1b9c..f71f0e10 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -388,12 +388,9 @@ def isSupported(module, project): module = project.info("MODULES")[module] if "supports" in module: support_string = module["supports"] - for tag, value in tag_dict.items(): - while support_string.find(tag) != -1: - support_string = support_string.replace(tag, value) supported = {} try: - exec "supported = " + support_string in {}, supported + exec "supported = " + support_string in tag_dict, supported except: raise SupportedException(support_string) return supported["supported"]