X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fpatman%2Fcheckpatch.py;h=34a3bd22b08d274b665d2fcf4c47fd17629a92dc;hb=63f7af9a4cfb4a3b9136674c6612c6d13957c2cd;hp=0d4e9352447065eae7555590e66f7c54fb4ab4c5;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=u-boot diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index 0d4e935244..34a3bd22b0 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -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.