From b23b69631ac893d01bcb24854815c870e995d69e Mon Sep 17 00:00:00 2001 From: Marek SzwaƂkiewicz Date: Mon, 29 May 2023 12:26:42 +0200 Subject: Fix python compile warning about use of is not MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: INT-2238 Change-Id: If8235229f916a6ae8edec47fb6df8cd76321dabd Signed-off-by: Marek SzwaƂkiewicz --- netconfsimulator/netconf/set-up-xmls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit 1.2.3-korg