Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show project according to their update status #9

Merged
merged 4 commits into from Oct 18, 2014
Merged

Conversation

pypingou
Copy link
Member

No description provided.

elif status == 'new':
query = query.filter(
Project.logs == None,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe add an else: here that raises a ValueError since status is out of bounds?

@pypingou
Copy link
Member Author

@ralphbean what do you think of it this way? Do you still prefer an error thrown/displayed?

pypingou added a commit that referenced this pull request Oct 18, 2014
Show project according to their update status
@pypingou pypingou merged commit a6e966e into master Oct 18, 2014
@pypingou pypingou deleted the update_status branch October 18, 2014 07:07
@pypingou
Copy link
Member Author

I left the second flash message to inform the user of what he/she is seeing.

Thanks for the review!

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.

None yet

2 participants