Skip to content

Fixes #2420 - Adds tolerance on milestones initialization#2426

Merged
miketaylr merged 1 commit intowebcompat:masterfrom
karlcow:2420/1
Apr 26, 2018
Merged

Fixes #2420 - Adds tolerance on milestones initialization#2426
miketaylr merged 1 commit intowebcompat:masterfrom
karlcow:2420/1

Conversation

@karlcow
Copy link
Copy Markdown
Member

@karlcow karlcow commented Apr 26, 2018

r? @miketaylr

This adds more tolerance on milestones initialization.

It will fail for missing milestones.
But just log a warning for additional milestones, which is the most likely case.

# This is probably fine, but we can log a warning.
if set(status_names) < set(milestone_names):
# Extract the additional milestones
intruder = set(status_names).symmetric_difference(set(milestone_names))

This comment was marked as abuse.

Copy link
Copy Markdown
Member

@miketaylr miketaylr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @karlcow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants