summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index e9b36ef..271f533 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -638,7 +638,7 @@ class Kconfig(object):
Related PEP: https://www.python.org/dev/peps/pep-0538/
"""
- self.srctree = os.environ.get("srctree") or ""
+ self.srctree = os.environ.get("srctree", "")
self.config_prefix = os.environ.get("CONFIG_", "CONFIG_")
# Regular expressions for parsing .config files, with the match()