def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def close(self):
        super(QueueingLogHandler, self).close()
        self._queue.put_nowait(None)