Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Change "is not" to "!=" to silence warning #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lalaithion
Copy link

Running this code gives the following warning:

/opt/homebrew/Cellar/gitless/0.8.8_7/libexec/lib/python3.9/site-packages/clint/textui/prompt.py:68: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if prompt[-1] is not ' ':

Running this code gives the following warning:

```
/opt/homebrew/Cellar/gitless/0.8.8_7/libexec/lib/python3.9/site-packages/clint/textui/prompt.py:68: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if prompt[-1] is not ' ':
```
@foreachthing
Copy link

One year later, this still raises an error message.
Can this fix be manually merged? Thanks!

@weakish
Copy link

weakish commented Sep 11, 2022

duplicate of #182

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.

3 participants