def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode