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/test_interrupts.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/test_interrupts.py')
-rw-r--r-- | src/test_interrupts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_interrupts.py b/src/test_interrupts.py index 0876a01..0c7c4df 100644 --- a/src/test_interrupts.py +++ b/src/test_interrupts.py @@ -118,10 +118,10 @@ for f in files: exc_all_seen = 0 line = l #print " -> reset" - elif not m1 is None: + elif m1 is not None: exc_keyboardint_seen = 1 #print " -> keyboard -> ", m1.groups() - elif not m2 is None: + elif m2 is not None: exc_all_seen = 1 #print " -> all -> ", m2.groups() else: |