Skip to content

Conversation

@johanneskoester
Copy link
Contributor

No description provided.


logger.info('blacklist: %s', ', '.join(sorted(blacklist)))

get_recipes = utils.get_recipes
Copy link
Member

Choose a reason for hiding this comment

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

else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is handled in the if below.

Copy link
Member

Choose a reason for hiding this comment

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

I mean this could be in an else, belonging to the if below.

if latest_only:
    get_recipes = utils.get_latest_recipes
else:
    get_recipes = utils.get_recipes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that is right. I did it this way because I thought it better reflects that there is a default case, and a special case (and possibly more in the future).

@epruesse
Copy link
Member

epruesse commented Jan 8, 2019

@johanneskoester - What is the status of this? Is it still needed?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants