fixed wrong usuage of find in etc/getVariables.py

This commit is contained in:
Fabian Preiss 2019-05-19 17:24:41 +02:00
parent b6c9f0c577
commit f6b7786025

View file

@ -229,7 +229,7 @@ class BashConvert(ShellConvert):
val=":".join(v) val=":".join(v)
else: else:
val=v val=v
if val.find(" "): if " " in val:
return 'export %s="%s"' % (n,val) return 'export %s="%s"' % (n,val)
else: else:
return 'export %s=%s' % (n,val) return 'export %s=%s' % (n,val)