commit | 63a5498f13d2a84c6d49d72e8b790104ac62041b | [log] [tgz] |
---|---|---|
author | rodric rabbah <rodric@gmail.com> | Wed Oct 28 23:14:11 2020 -0400 |
committer | GitHub <noreply@github.com> | Wed Oct 28 23:14:11 2020 -0400 |
tree | dbb1af8223fe6a49ca11b4b7ffeb814cbef835d4 | |
parent | ddb2662365d2d98661032a3d5f25bb3269b7cb9e [diff] |
Python 3 conditioning for wskadmin. (#5013)
diff --git a/tools/admin/wskprop.py b/tools/admin/wskprop.py index 8e9ef3f..3b1bd94 100644 --- a/tools/admin/wskprop.py +++ b/tools/admin/wskprop.py
@@ -77,6 +77,6 @@ def getPropertyValue(key, properties): evalue = os.environ.get(key) - value = (evalue if evalue is not None and evalue is not '' + value = (evalue if evalue != None and evalue != '' else properties[key] if key in properties else None) return value