[oe-commits] Christopher Larson : oe.patch: drop bb.msg.domain reference

git version control git at git.openembedded.org
Mon Oct 10 10:46:20 UTC 2011


Module: openembedded-core.git
Branch: master-next
Commit: 1288cee670a22e9023c1f02139a2067b7169ba5b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1288cee670a22e9023c1f02139a2067b7169ba5b

Author: Christopher Larson <kergoth at gmail.com>
Date:   Fri Oct  7 14:03:01 2011 -0700

oe.patch: drop bb.msg.domain reference

Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/patch.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 1406e19..9b0ff37 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -376,8 +376,8 @@ class UserResolver(Resolver):
             os.environ['SHELLCMDS'] = "bash --rcfile " + rcfile
             rc = os.system(bb.data.getVar('TERMCMDRUN', self.patchset.d, 1))
             if os.WIFEXITED(rc) and os.WEXITSTATUS(rc) != 0:
-                bb.msg.fatal(bb.msg.domain.Build, ("Cannot proceed with manual patch resolution - '%s' not found. " \
-                    + "Check TERMCMDRUN variable.") % bb.data.getVar('TERMCMDRUN', self.patchset.d, 1))
+                bb.fatal(("Cannot proceed with manual patch resolution - '%s' not found. "
+                          + "Check TERMCMDRUN variable.") % bb.data.getVar('TERMCMDRUN', self.patchset.d, 1))
 
             # Construct a new PatchSet after the user's changes, compare the
             # sets, checking patches for modifications, and doing a remote





More information about the Openembedded-commits mailing list