[Python-checkins] r88778 - tracker/instances/python-dev/scripts/addpatchsets
martin.v.loewis
python-checkins at python.org
Tue Mar 15 21:29:14 CET 2011
Author: martin.v.loewis
Date: Tue Mar 15 21:29:13 2011
New Revision: 88778
Log:
Look for diff -r in the middle of the potential patch.
Modified:
tracker/instances/python-dev/scripts/addpatchsets
Modified: tracker/instances/python-dev/scripts/addpatchsets
==============================================================================
--- tracker/instances/python-dev/scripts/addpatchsets (original)
+++ tracker/instances/python-dev/scripts/addpatchsets Tue Mar 15 21:29:13 2011
@@ -124,7 +124,7 @@
print filename,"not found"
continue
data = open(filename).read()
- if not data.startswith('diff -r '):
+ if not data.startswith('diff -r ') and data.find('\ndiff -r '):
if verbose:
print filename, "is not a patch"
continue
More information about the Python-checkins
mailing list