Skip to content

Commit 772d823

Browse files
committed
fix docstring in sanitize_env
1 parent 61b8842 commit 772d823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

easybuild/tools/environment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@ def sanitize_env():
189189
"""
190190
Sanitize environment.
191191
192-
This function
192+
This function:
193193
194-
* Filter out empty entries from environment variables like $PATH, $LD_LIBRARY_PATH, etc.
194+
* Filters out empty entries from environment variables like $PATH, $LD_LIBRARY_PATH, etc.
195195
Empty entries make no sense, and can cause problems,
196196
see for example https://github.com/easybuilders/easybuild-easyconfigs/issues/9843 .
197197
198-
* Undefine all $PYTHON* environment variables,
198+
* Undefines all $PYTHON* environment variables,
199199
since they may affect the build/install procedure of Python packages.
200200
201201
cfr. https://docs.python.org/2/using/cmdline.html#environment-variables

0 commit comments

Comments
 (0)