diff Tools/scripts/patchcheck.py @ 81414:1cfe0f50fd0c 2.7

Add a note about checking refleaks to patchcheck.
author Ezio Melotti <ezio.melotti@gmail.com>
date Fri, 11 Jan 2013 14:07:47 +0200
parents 179bc7557484
children 13950a33f889
line wrap: on
line diff
--- a/Tools/scripts/patchcheck.py	Fri Jan 11 12:27:43 2013 +0200
+++ b/Tools/scripts/patchcheck.py	Fri Jan 11 14:07:47 2013 +0200
@@ -174,8 +174,9 @@
 
     # Test suite run and passed.
     if python_files or c_files:
+        end = " and check for refleaks?" if c_files else "?"
         print
-        print "Did you run the test suite?"
+        print "Did you run the test suite" + end
 
 
 if __name__ == '__main__':