diff Tools/scripts/patchcheck.py @ 71835:d403eaec64df

Merge 3.2
author Éric Araujo <merwok@netwok.org>
date Fri, 12 Aug 2011 18:03:30 +0200
parents d72e04ff0f97 f1859c9d1086
children 1bdca2bcba6d
line wrap: on
line diff
--- a/Tools/scripts/patchcheck.py	Fri Aug 12 17:59:25 2011 +0200
+++ b/Tools/scripts/patchcheck.py	Fri Aug 12 18:03:30 2011 +0200
@@ -141,8 +141,9 @@
     reported_news(special_files)
 
     # Test suite run and passed.
-    print()
-    print("Did you run the test suite?")
+    if python_files or c_files:
+        print()
+        print("Did you run the test suite?")
 
 
 if __name__ == '__main__':