提交 38969864 authored 作者: carriepl's avatar carriepl

Removed useless comment

上级 8426c17d
...@@ -355,10 +355,6 @@ class SequenceDB(DB): ...@@ -355,10 +355,6 @@ class SequenceDB(DB):
position_dict[opt.name] = position position_dict[opt.name] = position
opts = [o for o in opts if position_dict[o.name] < position_cutoff] opts = [o for o in opts if position_dict[o.name] < position_cutoff]
# We want to sort by position and then if collision by name
# for deterministic optimization. Since Python 2.2, sort is
# stable, so sort by name first, then by position. This give
# the order we want.
opts.sort(key=lambda obj: (position_dict[obj.name], obj.name)) opts.sort(key=lambda obj: (position_dict[obj.name], obj.name))
kwargs = {} kwargs = {}
if self.failure_callback: if self.failure_callback:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论