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

SyntaxWarning for 'is' with literals #21

Closed
rbtylee opened this issue Sep 3, 2020 · 1 comment
Closed

SyntaxWarning for 'is' with literals #21

rbtylee opened this issue Sep 3, 2020 · 1 comment

Comments

@rbtylee
Copy link

rbtylee commented Sep 3, 2020

Building this for python3:

Setting up epymc (0.1.1-1) ...
/usr/lib/python3/dist-packages/epymc/mediaplayer.py:266: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if url.find('://', 2, 15) is -1:

Trivial to fix.

@DaveMDS
Copy link
Owner

DaveMDS commented Sep 25, 2020

fixed
thanks for reporting

@DaveMDS DaveMDS closed this as completed Sep 25, 2020
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

No branches or pull requests

2 participants