Patchwork [2/2] data.py: fixed message domain errors

login
register
mail settings
Submitter Samuel Stirtzel
Date Sept. 13, 2011, 11:30 a.m.
Message ID <1315913433-32608-2-git-send-email-s.stirtzel@googlemail.com>
Download mbox | patch
Permalink /patch/11311/
State New, archived
Headers show

Comments

Samuel Stirtzel - Sept. 13, 2011, 11:30 a.m.
The dynamic message domain was introduced by Richard Purdie with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
 meta/lib/oe/data.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Richard Purdie - Oct. 14, 2011, 12:47 p.m.
On Tue, 2011-09-13 at 13:30 +0200, Samuel Stirtzel wrote:
> The dynamic message domain was introduced by Richard Purdie with the following patch:
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89
> 
> Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
> ---
>  meta/lib/oe/data.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Patches 1 and 2 merged to master, thanks.

Sorry about the delay.

Richard

Patch

diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py
index 4b4d03e..af900be 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -15,4 +15,4 @@  def typed_value(key, d):
     try:
         return oe.maketype.create(d.getVar(key, True) or '', var_type, **flags)
     except (TypeError, ValueError), exc:
-        bb.msg.fatal(bb.msg.domain.Data, "%s: %s" % (key, str(exc)))
+        bb.msg.fatal("Data", "%s: %s" % (key, str(exc)))