Bug 2144 - [Hob2] Improve the following code in Hob
Summary: [Hob2] Improve the following code in Hob
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: anliming
QA Contact:
URL:
Whiteboard: Patch Submitted.
Depends on:
Blocks:
 
Reported: 2012-03-20 14:01 UTC by Shane Wang
Modified: 2012-03-29 02:29 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Wang 2012-03-20 14:01:37 UTC
> +    def config_model_filter(self, model, it):
> +        msg = model.get(it, self.COL_MESSAGE)[0]
> +        if msg == None or type(msg) != str:
> +            return False
> +        if msg.startswith("\nOE Build Configuration:\n"):
> +            return True
> +        return False


This seems like a heavy way to 
achieve this functionality. Is there not another way we can display the 
Build Configuration to the user without having to filter every message 
emitted?