def _gz(self, filename):
        self.logger.debug('Gzipping %s' % (filename,))
        ps = subprocess.Popen(['gzip', filename])
        while ps.poll() is None:
            gevent.sleep(0.01)
dataset/ETHPy150Open artirix/logcabin/logcabin/outputs/file.py/File._gz/original