Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Small fixes in payday.py #2576

Closed
wants to merge 2 commits into from
Closed

Small fixes in payday.py #2576

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 13, 2014

087 -- 0, 1, 2 performs about 5.7 times faster here.

612 -- better indentation.

731 -- typo fixed.

Bernardo Sulzbach added 2 commits July 12, 2014 21:53
087 -- 0, 1, 2 performs about 5.7 times faster here.

612 --  better identation.

731 -- typo fixed.
"Comparisons to singletons like None should always be done with 'is' or
'is not', never the equality operators." - PEP 8

See a good reason why (if you don't already know)
[here](http://jaredgrubb.blogspot.com.br/2009/04/python-is-none-vs-none.html)
@Changaco
Copy link
Contributor

Thanks for contributing, but payday is being rewritten (#2508), so the code you're trying to update has in fact been changed already.

@Changaco Changaco closed this Jul 13, 2014
@chadwhitacre
Copy link
Contributor

@Changaco (et al.) Whenever we get a PR from a first-time contributor, we should try pretty hard to accept the PR, even if it creates more work for us. The reason is that we want new contributors! What a buzzkill to put time and effort into a PR and then to have it rejected. :-(

In this case, yes, the code @mafagafo is changing is slated to be gone soon. But looking over these commits, they are really minor, no? I'm not seeing big merge conflicts here w/ the payday rewrite. Who knows? Maybe if we had encouraged @mafagafo by accepting his first PR, he would have helped us review the payday rewrite. ;-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants