def filterOnStatusExt(statusExt, commits):
	return [commit for commit in commits if '_' in commit.status and commit.status[commit.status.rfind('_') + 1:] == statusExt]
dataset/ETHPy150Open seoester/Git-Deployment-Handler/gitdh/gitdhutils.py/filterOnStatusExt/original