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

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



2008/9/2 Callum Lerwick <seg haxxed com>:
> 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
>
> --
> fedora-devel-list mailing list
> fedora-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>

If the maintainer doesn't like the patch code they are welcome to
change it all they want as long as there is a way to get the result of
the transaction in a plugin that's all I care about.


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