提交 824a3dd8 编写于 作者: J Joerg Jaspert

Merge remote-tracking branch 'nthykier/auto-decruft'

* nthykier/auto-decruft:
  daklib/rm: Use strings and not RowProxy as key
...@@ -393,7 +393,7 @@ def remove(session, reason, suites, removals, ...@@ -393,7 +393,7 @@ def remove(session, reason, suites, removals,
if architecture not in d[package][version]: if architecture not in d[package][version]:
d[package][version].append(architecture) d[package][version].append(architecture)
for package in sorted(removals): for package in sorted(d):
versions = sorted(d[package], cmp=apt_pkg.version_compare) versions = sorted(d[package], cmp=apt_pkg.version_compare)
for version in versions: for version in versions:
d[package][version].sort(utils.arch_compare_sw) d[package][version].sort(utils.arch_compare_sw)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册