summaryrefslogtreecommitdiff
path: root/morphlib/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/util.py')
-rw-r--r--morphlib/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/util.py b/morphlib/util.py
index 9668bac5..b533dd15 100644
--- a/morphlib/util.py
+++ b/morphlib/util.py
@@ -498,7 +498,7 @@ def get_host_architecture(): # pragma: no cover
def sanitize_environment(env):
for k in env:
- env[k] = str(env[k])
+ env[k] = '' if env[k] is None else str(env[k])
def iter_trickle(iterable, limit):
'''Split an iterable up into `limit` length chunks.'''