]> git.deb.at Git - deb/packages.git/commit
Packages::DoDownload: Don't try to numerically compare a localized number
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 3 Sep 2007 22:52:20 +0000 (00:52 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Mon, 3 Sep 2007 22:52:20 +0000 (00:52 +0200)
commit10253a9c867f3036137ef5ed5379da930ef04c20
tree94bfc8afb8fb14ea9acfb8c53f3e2f9ac0421f1a
parent7a5ca633d65f3e890f74aa8aba17accbc17ac432
Packages::DoDownload: Don't try to numerically compare a localized number

After formatting a number with the help of sprintf, it is localized, i.e.
the decimal point might not be a decimal point anymore. So don't try to
compare it numerically (i.e. with '<' or '>') since that will not work.
lib/Packages/DoDownload.pm