def construct_yaml_binary(self, node):
        value = self.construct_scalar(node)
        try:
            return str(value).decode('base64')
        except (binascii.Error, UnicodeEncodeError), exc:
            raise ConstructorError(None, None,
                    "failed to decode base64 data: %s" % exc, node.start_mark)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/yaml-3.10/yaml/constructor.py/SafeConstructor.construct_yaml_binary/original