Index: presubmit_support.py |
diff --git a/presubmit_support.py b/presubmit_support.py |
index 85b3a3f70ccdc096fb807dd5978de18c1e7fb79b..0efaca1c8dea2dff36bdea85e50857992f783b33 100755 |
--- a/presubmit_support.py |
+++ b/presubmit_support.py |
@@ -690,6 +690,9 @@ class Change(object): |
self._description_without_tags = ( |
'\n'.join(description_without_tags).rstrip()) |
+ assert all( |
+ (isinstance(f, (list, tuple)) and len(f) == 2) for f in files), files |
+ |
self._affected_files = [ |
self._AFFECTED_FILES(info[1], info[0].strip(), self._local_root) |
for info in files |