def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def exitMode(self, mode):
        if mode in self.modeList:
            self.modeList.remove(mode)