erkin / ponysay

Pony rewrite of cowsay.
GNU General Public License v3.0
1.22k stars 82 forks source link

fix: do not compare literal with "is not" #293

Closed nvxxu2i closed 5 years ago

nvxxu2i commented 5 years ago

Python3.8 issued the following warning on each ponysay invocation:

/bin/ponysay/backend.py:294: SyntaxWarning: "is not" with a literal. Did you mean "!="?

This has been corrected here.

LefterisJP commented 5 years ago

Nice :)

I came to this repo just to submit a PR for this too ^_^

nikhilbadyal commented 4 years ago

Was about to post a issued. In my case it repeats two times.

/usr/bin/ponysay/backend.py:294: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/bin/ponysay/backend.py:294: SyntaxWarning: "is not" with a literal. Did you mean "!="?