gps pointed out that "== and != work in most cases but its better to use is
and is not as you'll never run into a case where someone's __eq__ or __ne__
method do the wrong thing."

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/kernel.py b/client/bin/kernel.py
index 360bdb1..0432761 100755
--- a/client/bin/kernel.py
+++ b/client/bin/kernel.py
@@ -556,7 +556,7 @@
             self.set_build_target(build_target)
 
         # If no 'target_arch' given assume native compilation
-        if target_arch == None:
+        if target_arch is None:
             target_arch = autotest_utils.get_current_kernel_arch()
             if target_arch == 'ppc64':
                 if self.build_target == 'bzImage':