On 10/22/12 13:23, Edward Pilatowicz wrote:
hey all,
while trying to debug a pkg update problem i hit:
7140470 __plan_common_exception() calls raise with no exception in scope
could i get a review for the 1 line fix?
---8<---
self._activity_lock.release()
- raise
+
+ # re-raise the original exception. (we have to explicitly
+ # restate the original exception since we may have cleared the
+ # current exception scope above.)
+ raise exc_type, exc_value, exc_traceback
def solaris_image(self):
"""Returns True if the current image is a solaris image, or an
---8<---
a webrev is also available:
https://cr.opensolaris.org/action/browse/pkg/edp/pkg.api-plan-err/webrev
+1
-Shawn
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss