Merge "diff_branches: fix deprecated opts listing"
This commit is contained in:
commit
378fdb1b6f
|
@ -237,7 +237,8 @@ def get_env(project, new_branch, old_list, new_list):
|
|||
|
||||
# Deprecated options
|
||||
if deprecated_opts:
|
||||
for deprecated, new in deprecated_opts:
|
||||
for deprecated, new in sorted(deprecated_opts, cmp=_cmpopts,
|
||||
key=lambda tup: tup[0]):
|
||||
deprecated = format_option_name(deprecated)
|
||||
new = format_option_name(new)
|
||||
env['deprecated_opts'].append((deprecated, new))
|
||||
|
|
|
@ -41,7 +41,7 @@ New, updated, and deprecated options in {{ release }} for {{ codename }}
|
|||
|
||||
* - Deprecated option
|
||||
- New Option
|
||||
{% for cells in new_opts %}
|
||||
{% for cells in deprecated_opts %}
|
||||
* - ``{{ cells[0] }}``
|
||||
- ``{{ cells[1] }}``
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue