Skip to content

Commit 7739038

Browse files
committedNov 23, 2020
Fixes python warning
This patch fixes the warning: SyntaxWarning: "is" with a literal. Did you mean "=="?
1 parent 3825e16 commit 7739038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lavalab-gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def main():
525525
else:
526526
zmq_auth_genlist.write("%s/%s %s/%s\n" % (host, name, fm["host"], fm["name"]))
527527
need_zmq_auth_gen = True
528-
if remote_token is "BAD":
528+
if remote_token == "BAD":
529529
print("Cannot find %s on %s" % (remote_user, remote_master))
530530
sys.exit(1)
531531
if "env" in slave:

0 commit comments

Comments
 (0)
Please sign in to comment.