[oe-commits] Chris Larson : Revert 6a7f8c in favor of a real fix

git version control git at git.openembedded.org
Mon Feb 14 19:14:06 UTC 2011


Module: openembedded.git
Branch: master
Commit: dcefe88bff8a0bcb61aa213edffc9a20eeb94ccc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dcefe88bff8a0bcb61aa213edffc9a20eeb94ccc

Author: Chris Larson <chris_larson at mentor.com>
Date:   Mon Feb 14 12:11:19 2011 -0700

Revert 6a7f8c in favor of a real fix

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/packaged-staging.bbclass |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 643023d..29a3238 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -200,10 +200,10 @@ def staging_fetch(stagepkg, d):
         try:
             bb.fetch.init([srcuri], pd)
             bb.fetch.go(pd, [srcuri])
-            bb.debug(1, "Fetched staging package %s" % (bn))
-        except:
-            bb.debug(1, "Failed to fetch staging package %s" % (bn))
-            return
+        except Exception, ex:
+	    bb.debug(1, "Failed to fetch staging package %s: %s" % (bn, ex))
+        else:
+	    bb.debug(1, "Fetched staging package %s" % bn)
 
 PSTAGE_TASKS_COVERED = "fetch unpack munge patch configure qa_configure rig_locales compile sizecheck install deploy package populate_sysroot package_write_deb package_write_ipk package_write package_stage qa_staging"
 





More information about the Openembedded-commits mailing list