[Yum-devel] [PATCH 1/2] Output txmbr evr as e:v-r instead of e-v-r
Seth Vidal
skvidal at fedoraproject.org
Tue Dec 8 17:55:01 UTC 2009
On Tue, 8 Dec 2009, James Antill wrote:
> On Tue, 2009-12-08 at 11:23 -0500, Seth Vidal wrote:
>>
>> On Mon, 7 Dec 2009, James Antill wrote:
>>
>>> ---
>>> yum/transactioninfo.py | 2 +-
>>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py
>>> index a00342c..c235e69 100644
>>> --- a/yum/transactioninfo.py
>>> +++ b/yum/transactioninfo.py
>>> @@ -666,7 +666,7 @@ class TransactionMember:
>>> return object.__hash__(self)
>>>
>>> def __str__(self):
>>> - return "%s.%s %s-%s-%s - %s" % (self.name, self.arch, self.epoch,
>>> + return "%s.%s %s:%s-%s - %s" % (self.name, self.arch, self.epoch,
>>> self.version, self.release, self.ts_state)
>>>
>>
>> What good does this do? Other than changing something that's been one way
>> for a while?
>
> Just makes it more readable, everywhere else it's e:v-r so was kind of
> confusing to see e-v-r.
okay - that's fine by me - I'm sure we'll get a bug report opened :)
-sv
More information about the Yum-devel
mailing list