Skip to content

Commit

Permalink
Merge pull request #341 from ESMCI/santos/fix-env-leakage
Browse files Browse the repository at this point in the history
Remove `GenericXML` check for env variables.
  • Loading branch information
jedwards4b authored Aug 8, 2016
2 parents 1ca1b83 + cd350da commit 98f95bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/python/CIME/XML/generic_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,5 @@ def get_resolved_value(self, raw_value):
elif var == "SRCROOT":
srcroot = os.path.join(get_cime_root(),"..")
item_data = item_data.replace(m.group(), srcroot)
elif var in os.environ:
logging.debug("resolve from env: " + var)
item_data = item_data.replace(m.group(), os.environ[var])

return item_data

0 comments on commit 98f95bb

Please sign in to comment.