]> git.sur5r.net Git - u-boot/blobdiff - tools/patman/checkpatch.py
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
[u-boot] / tools / patman / checkpatch.py
index 0d4e9352447065eae7555590e66f7c54fb4ab4c5..34a3bd22b08d274b665d2fcf4c47fd17629a92dc 100644 (file)
@@ -34,9 +34,8 @@ def FindCheckPatch():
             return fname
         path = os.path.dirname(path)
 
-    print >> sys.stderr, ('Cannot find checkpatch.pl - please put it in your ' +
-                '~/bin directory or use --no-check')
-    sys.exit(1)
+    sys.exit('Cannot find checkpatch.pl - please put it in your ' +
+             '~/bin directory or use --no-check')
 
 def CheckPatch(fname, verbose=False):
     """Run checkpatch.pl on a file.