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

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

 



2008/9/2 Callum Lerwick <seg@xxxxxxxxxx>:
> 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@xxxxxxxxxx
> 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.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux