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

Re: How to bet back to a sane version number?



* Florent Rougon:

> This function doesn't return anything (well, actually, it returns the
> object None). The correct version is:
>
> def compare(a, b):
>     return apt_pkg.VersionCompare(a, b)

Yes, indeed, sorry about that.  Too much Perl lately.  Thanks for
explaining the multi-way compare, too.



Reply to: