cosmin / stashy

Python API client for the Atlassian Stash REST API
Other
232 stars 147 forks source link

Fix two warnings about usage of "is not" #154

Closed libnoon closed 4 years ago

libnoon commented 4 years ago

This change will fix the following warnings:

$ python3 setup.py test
[...]
stashy/pullrequests.py:214: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if parentCommentId is not -1:
stashy/pullrequests.py:218: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if fileLine is not -1: