usr/src/lib/install_transfer/ips.py
changeset 1680 902e7dbd8043
parent 1650 0a799935ac50
child 1692 aa8503663e0f
equal deleted inserted replaced
1679:05cc741cc3d6 1680:902e7dbd8043
   426                                         "Target build version: %s" %
   426                                         "Target build version: %s" %
   427                                         (target_entire_pi.fmri))
   427                                         (target_entire_pi.fmri))
   428             self.check_cancel_event()
   428             self.check_cancel_event()
   429 
   429 
   430         except api_errors.CatalogRefreshException, cre:
   430         except api_errors.CatalogRefreshException, cre:
   431             '''Handle CatalogRefreshException especially since it doesn't
   431             #  Handle CatalogRefreshException especially since it doesn't
   432                pretty-print it's contents in a __str__() impl.
   432             #  pretty-print it's contents in a __str__() impl.
   433             '''
   433             
   434             raise RuntimeError(self.catalog_failures_to_str(cre))
   434             raise RuntimeError(self.catalog_failures_to_str(cre))
   435         finally:
   435         finally:
   436             self._cleanup()
   436             self._cleanup()
   437 
   437 
   438     @abc.abstractmethod
   438     @abc.abstractmethod