def get(self, key, recurse=False):
        try:
            result = self.read(key, recursive=recurse)
        except etcd.EtcdKeyNotFound:
            # etcd already logged that the key wasn't found, no need to do
            # anything here but return
            return None
        except etcd.EtcdConnectionFailed:
            log.error("etcd: failed to perform 'get' operation on key {0} due to connection error".format(key))
            return None
        except __HOLE__:
            return None

        return getattr(result, 'value', None)
dataset/ETHPy150Open saltstack/salt/salt/utils/etcd_util.py/EtcdClient.get