Change the syntax to remove warning
parent
a976d12c51
commit
e5ce2c0a29
|
@ -110,7 +110,7 @@ class ConfigParser:
|
||||||
|
|
||||||
# Looks for string between $ sysmbols in the common subheading in config file
|
# Looks for string between $ sysmbols in the common subheading in config file
|
||||||
def __parseString(self, iString):
|
def __parseString(self, iString):
|
||||||
if iString is '':
|
if iString == '':
|
||||||
return iString
|
return iString
|
||||||
elif isinstance(self.common, (dict)):
|
elif isinstance(self.common, (dict)):
|
||||||
# Case when "common" parameters are read from the configuration file
|
# Case when "common" parameters are read from the configuration file
|
||||||
|
|
Loading…
Reference in New Issue