quilt/db.py
def save(self):
        """ Saves current patches list in the series file """
        with open(self.series_file, "wb") as f:
            for patchline in self.patchlines:
                f.write(_encode_str(str(patchline)))
                f.write(b"\n")
def save(self):
        """ Saves current patches list in the series file """
        with open(self.series_file, "wb") as f:
            for patchline in self.patchlines:
                f.write(_encode_str(str(patchline)))
                f.write(b"\n")
Saves current patches list in the series file