diff options
Diffstat (limited to 'rtems_waf/config/options.py')
-rw-r--r-- | rtems_waf/config/options.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rtems_waf/config/options.py b/rtems_waf/config/options.py index 7933fc3b95..3206e874e2 100644 --- a/rtems_waf/config/options.py +++ b/rtems_waf/config/options.py @@ -62,8 +62,10 @@ class Option(object): # Tag sanity check. if not hasattr(self, "tag"): -# raise Exception("At least one tag is required") # XXX: enable when all options have been set - print "%s: Missing tag! At least one is required." % self.name +# if not hasattr(self, "tag") or self.tag == [""]: # XXX: temp until all tags have been added + raise Exception("At least one tag is required") + elif self.tag == [""]: # XXX: temp until all tags have been added + print "%s: Missing tag!" % self.name elif type(self.tag) is not list: raise Exception("%s.tag: must be a list()." % self.name) elif not set(self.tag).issubset(tag_map): |