diff options
| author | Greg Noel <GregNoel@tigris.org> | 2009-05-03 06:24:01 (GMT) |
|---|---|---|
| committer | Greg Noel <GregNoel@tigris.org> | 2009-05-03 06:24:01 (GMT) |
| commit | ff74e256dccabac534aa952431063a23dfae9ac2 (patch) | |
| tree | e50f626c5c42ff28c3cd21ab63f167627d08d7d4 /src/engine/SCons/Util.py | |
| parent | 940ba4016c26bc49bdcb4e48bdd6b8b541e2aa1f (diff) | |
| download | SCons-ff74e256dccabac534aa952431063a23dfae9ac2.zip SCons-ff74e256dccabac534aa952431063a23dfae9ac2.tar.gz SCons-ff74e256dccabac534aa952431063a23dfae9ac2.tar.bz2 | |
Issue 2401: Fix usage of comparison with None, patch from Jared Grubb
Diffstat (limited to 'src/engine/SCons/Util.py')
| -rw-r--r-- | src/engine/SCons/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index c77ee49..ac949a0 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -1127,7 +1127,7 @@ class Selector(OrderedDict): # the dictionary before giving up. s_dict = {} for (k,v) in self.items(): - if not k is None: + if k is not None: s_k = env.subst(k) if s_dict.has_key(s_k): # We only raise an error when variables point |
