[Yum-devel] [PATCH] Fix 0 vs None Epoch handling in compareEVR().
Jon Stanley
jonstanley at gmail.com
Sat Jun 5 17:49:56 UTC 2010
On Sat, Jun 5, 2010 at 1:29 PM, Seth Vidal <skvidal at fedoraproject.org> wrote:
> What is it your're fixing here? Do we have a bug report anywhere? I ask b/c
> I'm hesistant to change this code w/o bug in something in this century of
> rpm dev.
I ran into this when writing some code against the API where I needed
epoch information, but I thought that None should be handled as zero
(especially true in my code) and just special-cased that None == 0.
Actually come to think of it this was against the RPM API, but the
same holds true, I think - it's up to the developer to do something
sane, I'm fine with leaving it the way it is.
$0.02
-Jon
More information about the Yum-devel
mailing list