getEnv now supports a 'default' parameter; refs #6019

This commit is contained in:
Andreas Rumpf 2017-10-30 17:21:05 +01:00
commit 0895064983
5 changed files with 12 additions and 5 deletions

View file

@ -37,3 +37,5 @@
This means its results are more precise and it can't run into an infinite loop
anymore.
- Added ``typetraits.$`` as an alias for ``typetraits.name``.
- ``os.getEnv`` now takes an optional ``default`` parameter that tells ``getEnv``
what to return if the environment variable does not exist.