def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def getPackageCommits(self):
		if self.sp_obj == None:
			return ""

		return self.sp_obj.getMacro("commit")