quilt/db.py
def read(self):
        """ Reads all patches from the series file """
        self.patchlines = []
        self.patch2line = dict()
        if self.exists():
            with open(self.series_file, "r") as f:
                for line in f:
                    self.add_patch(line)
def read(self):
        """ Reads all patches from the series file """
        self.patchlines = []
        self.patch2line = dict()
        if self.exists():
            with open(self.series_file, "r") as f:
                for line in f:
                    self.add_patch(line)
Reads all patches from the series file