From: Marek SzwaƂkiewicz Date: Mon, 29 May 2023 10:26:42 +0000 (+0200) Subject: Fix python compile warning about use of is not X-Git-Tag: 1.0.6~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b23b69631ac893d01bcb24854815c870e995d69e;p=integration%2Fsimulators%2Fpnf-simulator.git Fix python compile warning about use of is not Issue-ID: INT-2238 Change-Id: If8235229f916a6ae8edec47fb6df8cd76321dabd Signed-off-by: Marek SzwaƂkiewicz --- 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} " " " " ", sys.argv[0])