def poll(self):
        try:
            command = [self.config['bin'], '-1']

            if str_to_bool(self.config['use_sudo']):
                command.insert(0, self.config['sudo_cmd'])

            output = subprocess.Popen(command,
                                      stdout=subprocess.PIPE).communicate()[0]
        except __HOLE__:
            output = ""

        return output
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/varnish/varnish.py/VarnishCollector.poll