[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] yum: make transaction results available to plugins



On Mon, 2008-09-01 at 09:25 -0500, Xavier Toth wrote:
> @@ -459,6 +460,12 @@
>          result.update(self.getNewRequires(name, flag, version))
>          return result
> 
> +    def getTransactionResult(self):
> +        return self.transaction_result
> +
> +    def setTransactionResult(self, result):
> +        self.transaction_result = result
> +
>  class ConditionalTransactionData(TransactionData):
>      """A transaction data implementing conditional package addition"""
>      def __init__(self):

Getters and setters? In Python?

http://dirtsimple.org/2004/12/python-is-not-java.html

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]