[Python-checkins] cpython (merge 3.4 -> default): merge with 3.4
georg.brandl
python-checkins at python.org
Sun Oct 19 11:55:50 CEST 2014
https://hg.python.org/cpython/rev/35250487eb9e
changeset: 93135:35250487eb9e
parent: 93132:7266562c2bb3
parent: 93134:3fa5d6a4bf78
user: Georg Brandl <georg at python.org>
date: Sun Oct 19 11:55:15 2014 +0200
summary:
merge with 3.4
files:
Tools/scripts/patchcheck.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -152,7 +152,8 @@
file_paths = changed_files()
python_files = [fn for fn in file_paths if fn.endswith('.py')]
c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
- doc_files = [fn for fn in file_paths if fn.startswith('Doc')]
+ doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
+ fn.endswith(('.rst', '.inc'))]
misc_files = {os.path.join('Misc', 'ACKS'), os.path.join('Misc', 'NEWS')}\
& set(file_paths)
# PEP 8 whitespace rules enforcement.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list