So building on Cyril's suggestion, how about:

317         try:
318             try:
319                 img.list_install(pkg_list, progresstracker,
filters = filters,
320                     verbose = verbose, noexecute = noexecute)
321             except RuntimeError, e:
322                 print >> sys.stderr, _("install failed: %s") % e
323                 ret_code = 1
324             except:
325                 raise
326             else:
327                 ret_code = 0
328         finally:
329             img.cleanup_downloads()

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to