quilt/db.py
def patches_until(self, patch):
        """ Returns a list of patches before patch from the patches list
        including the provided patch
        """
        return [line.get_patch() for line in self._patchlines_until(patch) if
                line.get_patch()]
def patches_until(self, patch):
        """ Returns a list of patches before patch from the patches list
        including the provided patch
        """
        return [line.get_patch() for line in self._patchlines_until(patch) if
                line.get_patch()]
Returns a list of patches before patch from the patches list
        including the provided patch