Skip to content

Conversation

@allomov
Copy link
Member

@allomov allomov commented Sep 26, 2014

@johnsca one more quick question about relational context.py.

It's about this line. As far as I know bool([]) is already False in python, so you don't need to do len(...) > 0 there.

Once you want to be sure that ready is a boolean I think it's better to use bool() or !! casting.

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.

1 participant