> 6.10.3 -> 6103 > 703
6.10.3 -> 061003 < 070003
regards Uwe
On Mon, Jul 21, 2008 at 11:44:36AM +0200, Uwe Stöhr wrote:
> This is incorrect:
>
> if sys.argv[1][:4] == 'pdf:' and major >= 6 and minor >= 2 and patch >= 6:
>
> So when I would have version 7.0.3 that has the new features, I could not use
> this as minor is not
> >= 2 and patch also not >=
Uwe Stöhr wrote:
> This is incorrect:
>
> if sys.argv[1][:4] == 'pdf:' and major >= 6 and minor >= 2 and patch >= 6:
>
> So when I would have version 7.0.3 that has the new features, I could not
> use this as minor is not >= 2 and patch also not >= 6
>
> So the best would be to extract the numbers
This is incorrect:
if sys.argv[1][:4] == 'pdf:' and major >= 6 and minor >= 2 and patch >= 6:
So when I would have version 7.0.3 that has the new features, I could not use this as minor is not
>= 2 and patch also not >= 6
So the best would be to extract the numbers and form a real number out