]> err.no Git - dak/commit
control-suite: sort list of desired packages as intended
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 22 Aug 2011 11:15:53 +0000 (11:15 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 22 Aug 2011 11:19:21 +0000 (11:19 +0000)
commit674e520b01fd361fc2d88909f7da8ca3ed97d60c
treeaa0a8f733c308ebac85ef5c975f8e7660d0a96b4
parent6dad0409f1e9f0527bfb603c701e979a6e7dbf16
control-suite: sort list of desired packages as intended

The list of desired packages contained a string of the form
"package-name version architecture".  Sorting with cmp_package_version
would sort this my the first two characters of the package name which is
not what was intended.

With this patch, the list instead contains tuples which means
cmp_package_version can now sort the list as intended.
dak/control_suite.py