commit | d5d29f32908949fb7e61cb39adcd69860d79ea14 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Thu Apr 18 15:39:44 2019 -0700 |
committer | Alex Van Damme <atv@google.com> | Thu Apr 18 22:44:14 2019 +0000 |
tree | 15c0aa982d7c67ce472862b48d16ad9c65b6d969 | |
parent | f31a7ec0987d6b4cd73fe760c5298f97bcaa9fab [diff] |
Pass along the Version object instead of string - Turning the versions into strings causes issues when we go from something like 9 to 10, since it's a lexicographic comparison - the Version object from the Changelog module implements __cmp__, so it's directly comparable - Pass around Version objects, and only stringify them when needed Change-Id: I9f15d8e7f51a85ca7e79018360c6d2f79af7b74e