diff options
Diffstat (limited to 'morphlib/buildenvironment.py')
-rw-r--r-- | morphlib/buildenvironment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/buildenvironment.py b/morphlib/buildenvironment.py index 0b7cccb2..c9c12cc4 100644 --- a/morphlib/buildenvironment.py +++ b/morphlib/buildenvironment.py @@ -17,10 +17,11 @@ import os import morphlib + class BuildEnvironment(): def __init__(self, settings, arch=None): - self.arch = morphlib.util.arch() if arch == None else arch + self.arch = morphlib.util.arch() if arch is None else arch self.env = self._clean_env(settings) _osenv = os.environ |