def __getattr__(self, name):
        ''' Search in self.environ for additional user defined attributes. '''
        try:
            var = self.environ['bottle.request.ext.%s'%name]
            return var.__get__(self) if hasattr(var, '__get__') else var
        except __HOLE__:
            raise AttributeError('Attribute %r not defined.' % name)
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/BaseRequest.__getattr__