From e5ce2c0a29e1f57540e1e2e9a0cf7ba29da3f58f Mon Sep 17 00:00:00 2001 From: Bryan Marfito Date: Fri, 2 Jul 2021 11:42:39 +0800 Subject: [PATCH] Change the syntax to remove warning --- contrib/stack/topsStack/SentinelWrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/stack/topsStack/SentinelWrapper.py b/contrib/stack/topsStack/SentinelWrapper.py index 8433d94..cf6fc8a 100755 --- a/contrib/stack/topsStack/SentinelWrapper.py +++ b/contrib/stack/topsStack/SentinelWrapper.py @@ -110,7 +110,7 @@ class ConfigParser: # Looks for string between $ sysmbols in the common subheading in config file def __parseString(self, iString): - if iString is '': + if iString == '': return iString elif isinstance(self.common, (dict)): # Case when "common" parameters are read from the configuration file