Index: patch.py |
diff --git a/patch.py b/patch.py |
index 316333f29bd158081791f8afa97a867700880b60..bac992d43603fafb68cf7585f11f17b61e4ef3dc 100644 |
--- a/patch.py |
+++ b/patch.py |
@@ -273,6 +273,8 @@ class PatchSet(object): |
def __init__(self, patches): |
self.patches = patches |
+ for p in self.patches: |
+ assert isinstance(p, FilePatchBase) |
def set_relpath(self, relpath): |
"""Used to offset the patch into a subdirectory.""" |