diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-11-23 09:40:16 +0000 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2020-11-23 10:01:35 +0000 |
commit | 7739038c60331b71add3d5183412e50a38bfa2f3 (patch) | |
tree | 075621a294fd16b0e177529af3073427aedd3c64 /lavalab-gen.py | |
parent | 3825e16f0833072d2b3bed0c4aaea2c4d5c22b0c (diff) |
Fixes python warning
This patch fixes the warning:
SyntaxWarning: "is" with a literal. Did you mean "=="?
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-x | lavalab-gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index 64bb1f1..e4b3487 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -525,7 +525,7 @@ def main(): else: zmq_auth_genlist.write("%s/%s %s/%s\n" % (host, name, fm["host"], fm["name"])) need_zmq_auth_gen = True - if remote_token is "BAD": + if remote_token == "BAD": print("Cannot find %s on %s" % (remote_user, remote_master)) sys.exit(1) if "env" in slave: |