Skip to content

Commit

Permalink
Fix SyntaxWarning in Python 3.8 (conan-io#6165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn authored and memsharded committed Dec 3, 2019
1 parent d156a93 commit 258e058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conans/client/tools/win.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def vswhere(all_=False, prerelease=False, products=None, requires=None, version=
arguments.append("-requires")
arguments.extend(requires)

if len(version) is not 0:
if len(version) != 0:
arguments.append("-version")
arguments.append(version)

Expand All @@ -290,7 +290,7 @@ def vswhere(all_=False, prerelease=False, products=None, requires=None, version=
if legacy:
arguments.append("-legacy")

if len(property_) is not 0:
if len(property_) != 0:
arguments.append("-property")
arguments.append(property_)

Expand Down

0 comments on commit 258e058

Please sign in to comment.