| Summary: | [Hob2] Improve the following code in Hob | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Shane Wang <shane.wang> |
| Component: | hob | Assignee: | anliming <limingx.l.an> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher |
| Version: | 1.2 | ||
| Target Milestone: | 1.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Patch Submitted. | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
> + 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?