patchcheck: don’t talk about the test suite when no code file were changed.

The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.
This commit is contained in:
Éric Araujo 2011-08-19 08:41:00 +02:00
parent fe5c297ee2
commit a5afa4955d
1 changed files with 3 additions and 2 deletions

View File

@ -157,8 +157,9 @@ def main():
reported_news(special_files) reported_news(special_files)
# Test suite run and passed. # Test suite run and passed.
print if python_files or c_files:
print "Did you run the test suite?" print
print "Did you run the test suite?"
if __name__ == '__main__': if __name__ == '__main__':