def add_patch(self, patch):
patchline = PatchLine(patch)<EOL>patch = patchline.get_patch()<EOL>if patch:<EOL><INDENT>self.patch2line[patch] = patchline<EOL><DEDENT>self.patchlines.append(patchline)<EOL>
Add a patch to the patches list