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-12 17:50:08 +02:00
parent 28d39a0c08
commit fbc5ff6235

View file

@ -157,8 +157,9 @@ def main():
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__':