View Single Post
Old 04-13-2011, 05:34 PM   #3
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 1,078
Karma: 444444
Join Date: Nov 2009
Device: many
Hi,

Quote:
Originally Posted by kiwidude View Post
from calibre.constants import numeric_version

Search Calibre for numeric_version to find the usages. It is basically a tuple like (0, 7, 54) that you can just do operator comparisons with. Plugin updater makes use of it.

Thank you!. That was exactly what I needed.

KevinH
KevinH is offline   Reply With Quote