

def __repr__(self):
    user_repr = ('DbUser(id = %r, login = %r, full_name = %r, email = %r, avatar = %r, role = %r)' % (self.id, self.login, self.full_name, self.email, self.avatar, self.role))
    if isinstance(user_repr, unicode):
        user_repr = user_repr.encode('utf-8')
    return user_repr

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/db/model.py DbUser.__repr__/original