diff options
| author | Michael Weiss <dev.primeos@gmail.com> | 2021-01-28 15:34:34 +0100 |
|---|---|---|
| committer | Michael Weiss <dev.primeos@gmail.com> | 2021-01-28 15:45:00 +0100 |
| commit | 863982d2721b3bbb8d82a2cc9766944a90e21db0 (patch) | |
| tree | 8deb5b647a53a501c1a6ad228cb99e03e44ae561 /pkgs/development/python-modules/rangehttpserver | |
| parent | ff937db1f64aa1bfdcbfde0500fe4daa19b30178 (diff) | |
chromium: Fix the version comparison in print_updates()
I forgot that string comparison isn't enough because e.g.:
>>> "89.0.4389.9" < "89.0.4389.23"
False
distutils.version.LooseVersion is undocumented but it works and is
already available so why not use it:
>>> LooseVersion("89.0.4389.9") < LooseVersion("89.0.4389.23")
True
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
