def activate(self, args):
        """
            Activate a new user using the information from the
            activation email.
        """
        self.api.set_token(None)
        try:
            self.api.update_user(
                args.user_name[0],
                activation_code=args.activation_code[0])
        except GoneError:
            raise InputErrorException('WrongUsername')
        except __HOLE__:
            raise InputErrorException('CommandNotImplemented')
dataset/ETHPy150Open cloudControl/cctrl/cctrl/user.py/UserController.activate