aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>2023-05-29 12:26:42 +0200
committerMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>2023-05-29 12:26:49 +0200
commitb23b69631ac893d01bcb24854815c870e995d69e (patch)
tree3f7c6068b6d086d1214aa18bff3713276e2c87df
parent99a44059b4313ede6e8e728595397b02e845c001 (diff)
Fix python compile warning about use of is notHEADmaster
Issue-ID: INT-2238 Change-Id: If8235229f916a6ae8edec47fb6df8cd76321dabd Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
-rwxr-xr-xnetconfsimulator/netconf/set-up-xmls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/netconfsimulator/netconf/set-up-xmls.py b/netconfsimulator/netconf/set-up-xmls.py
index 2ec1cf2..47fbcaf 100755
--- a/netconfsimulator/netconf/set-up-xmls.py
+++ b/netconfsimulator/netconf/set-up-xmls.py
@@ -149,7 +149,7 @@ class App(object):
def main():
- if len(sys.argv) is not 8:
+ if len(sys.argv) != 8:
print("Usage: {1} <cert_dir> <ca_cert_filename> <server_cert_filename> "
"<server_key_filename> <load_server_certs_xml_full_path> "
"<tls_listen_full_path> <client_cert_filename>", sys.argv[0])