def read(self):
self.patchlines = []<EOL>self.patch2line = dict()<EOL>if self.exists():<EOL><INDENT>with open(self.series_file, "<STR_LIT:r>") as f:<EOL><INDENT>for line in f:<EOL><INDENT>self.add_patch(line)<EOL><DEDENT><DEDENT><DEDENT>
Reads all patches from the series file