def up_hero(request): req = request._proto char_id = request._char_id f = Formation(char_id) f.up_hero(req.socket_id, req.hero_id)