summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/patchcheck.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2012-03-14 22:17:31 (GMT)
committerMatthias Klose <doko@ubuntu.com>2012-03-14 22:17:31 (GMT)
commit5ce31cc4fc9737ae9ddfe34c7c91297ffe74844a (patch)
tree7c773aa4c9047b142c45c05f43b75a9154b506a7 /Tools/scripts/patchcheck.py
parente7c8fdee18494238cc93eb895001398ceb7d12fb (diff)
parentd83be23689c50f81d2df040cd047e9100e004c3f (diff)
downloadcpython-5ce31cc4fc9737ae9ddfe34c7c91297ffe74844a.zip
cpython-5ce31cc4fc9737ae9ddfe34c7c91297ffe74844a.tar.gz
cpython-5ce31cc4fc9737ae9ddfe34c7c91297ffe74844a.tar.bz2
merge 3.2
Diffstat (limited to 'Tools/scripts/patchcheck.py')
-rwxr-xr-xTools/scripts/patchcheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
index 0ca712a..503c67a 100755
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -135,7 +135,7 @@ def reported_news(file_paths):
@status("configure regenerated", modal=True, info=str)
def regenerated_configure(file_paths):
"""Check if configure has been regenerated."""
- if 'configure.in' in file_paths:
+ if 'configure.ac' in file_paths:
return "yes" if 'configure' in file_paths else "no"
else:
return "not needed"
@@ -143,7 +143,7 @@ def regenerated_configure(file_paths):
@status("pyconfig.h.in regenerated", modal=True, info=str)
def regenerated_pyconfig_h_in(file_paths):
"""Check if pyconfig.h.in has been regenerated."""
- if 'configure.in' in file_paths:
+ if 'configure.ac' in file_paths:
return "yes" if 'pyconfig.h.in' in file_paths else "no"
else:
return "not needed"