This commit is contained in:
Jeff Forcier 2016-05-15 22:54:02 -07:00
parent 41482087f7
commit 184907bb8c
3 changed files with 5 additions and 5 deletions

View file

@ -192,7 +192,7 @@ def append_unreleased_entries(app, manager, releases):
bucket = 'unreleased_{0}'.format(type_)
if bucket not in lines: # Implies unstable prehistory + 0.x fam
continue
issues = lines[bucket]
issues = lines[bucket]
fam_prefix = "{0}.x ".format(family) if len(manager) > 1 else ""
header = "Next {0}{1} release".format(fam_prefix, type_)
line = "unreleased_{0}.x_{1}".format(family, type_)
@ -471,7 +471,9 @@ def construct_releases(entries, app):
# pre-emptively update the line-manager so upcoming features are
# correctly sorted into that major release by default (re: logic in
# Release.add_to_manager)
handle_upcoming_major_release(stripped_entries[index + 1:], manager)
handle_upcoming_major_release(
stripped_entries[index + 1:], manager
)
# Entries get copied into release line buckets as follows:
# * Features and support go into 'unreleased_feature' for use in new

View file

@ -3,8 +3,6 @@ from invocations.testing import test, integration, watch_tests
from invocations.packaging import release
from invoke import Collection
from invoke import run
from invoke import task
ns = Collection(test, integration, watch_tests, release, docs)

View file

@ -1,4 +1,4 @@
from spec import Spec, eq_, skip
from spec import Spec, eq_
from docutils.nodes import (
reference, bullet_list, list_item, literal, raw, paragraph, Text
)