[PATCH] yum: make transaction results available to plugins
Xavier Toth
txtoth at gmail.com
Tue Sep 2 19:20:11 UTC 2008
2008/9/2 Callum Lerwick <seg at 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 at 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.
More information about the fedora-devel-list
mailing list