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

Changed all "== None" and "!= None" #89

Merged
merged 1 commit into from
Nov 21, 2014
Merged

Conversation

diegocortassa
Copy link
Contributor

Changed all "== None" and "!= None" occurrences to comply to PEP8 and stop python 2.7 from giving FutureWarning: comparison to None will result in an elementwise object comparison in the future.

Hi Zulko, just a small "style" change, if you find it useful...

… stop python 2.7 from giving FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
@Zulko
Copy link
Owner

Zulko commented Nov 21, 2014

Thanks very much, I usually don't do this mistake, these lines are either not my code or have been written very late in the night ;)

Zulko added a commit that referenced this pull request Nov 21, 2014
Changed all "== None" and "!= None" to resp. "is None" and "is not None"
@Zulko Zulko merged commit 87e8202 into Zulko:master Nov 21, 2014
@diegocortassa
Copy link
Contributor Author

Thank YOU for moviepy and accepting my pull request!

On 21/11/2014 16:47, Zulko wrote:

Thanks very much, I usually don't do this mistake, these lines are
either not my code or have been written very late in the night ;)

Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.

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