Beispiel #1
0
 def update(self):
     """
     This is the only acceptable way to update a product definition
     checkout, because it invalidates the cached copy of the data.
     """
     if not self._handle.facade.conary.updateCheckout(
             self.getProductDefinitionDirectory()):
         raise errors.RbuildError('Failed to update product definition')
     ProductStore.update(self)
Beispiel #2
0
 def update(self):
     """
     This is the only acceptable way to update a product definition
     checkout, because it invalidates the cached copy of the data.
     """
     if not self._handle.facade.conary.updateCheckout(
         self.getProductDefinitionDirectory()):
         raise errors.RbuildError('Failed to update product definition')
     ProductStore.update(self)