data.py: fixed message domain errors

The dynamic message domain was introduced by Richard Purdie with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89

(From OE-Core rev: 55a8382e460430dc5ff10755d235d637531d2ae7)

(From OE-Core rev: d08db11fcae91deca10d250430a6f77de47f9080)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Samuel Stirtzel 2011-09-13 13:30:33 +02:00 committed by Richard Purdie
parent 7d30c2df87
commit 89e945be6a
1 changed files with 1 additions and 1 deletions

View File

@ -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)))