def __init__(self, filter):
    self.filter = filter
    message = (u'invalid filter: %s.' % self.filter).encode('utf-8')
    super(BadFilterError, self).__init__(message)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore_errors.py/BadFilterError.__init__/original