[oe-commits] Marco Cavallini : packaged-staging.bbclass: partial revert of commit fe706bb9af34ce43e8ec55fbf929a85d3b6d612a due to build error

git version control git at git.openembedded.org
Mon Feb 14 09:15:55 UTC 2011


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

Author: Marco Cavallini <m.cavallini at koansoftware.com>
Date:   Mon Feb 14 10:15:10 2011 +0100

packaged-staging.bbclass: partial revert of commit fe706bb9af34ce43e8ec55fbf929a85d3b6d612a due to build error

 * # ERROR: Error in compiling python function in:
 * # ERROR: The lines leading to this error were:
 * # ERROR:  22:SyntaxError:'        except Exception as ex:'

---

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

diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index c514581..674dcc4 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -200,9 +200,9 @@ 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 Exception as ex:
-	    bb.debug(1, "Failed to fetch staging package %s: %s" % (bn, ex))
+            bb.debug(1, "Fetched staging package %s" % (bn))
+        except:
+            bb.debug(1, "Failed to fetch staging package %s" % (bn))
             return
 
 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