Fix bug bug.

This commit is contained in:
Jeff Forcier 2016-04-27 22:19:51 -07:00
parent f5efca6763
commit a62e8296df

View file

@ -113,7 +113,11 @@ class Issue(nodes.Element):
# TODO: probably leverage Issue subclasses for this eventually?
if self.is_buglike:
buckets.extend(bugfix_buckets)
buckets.append('unreleased_bugfix')
# Don't put into JUST unreleased_bugfix; it implies that this
# major release/family hasn't actually seen any releases yet
# and only exists for features to go into.
if bugfix_buckets:
buckets.append('unreleased_bugfix')
else:
buckets.append('unreleased_feature')
# Now that we know which buckets are appropriate, add ourself to