def run(self, command, application):
        """Get or set the profile.

        If .profile is called with no args, the current profile
        is displayed.  If the .profile command is called with a
        single arg, then the current profile for the application
        will be set to the new value.
        """
        if len(command) == 1:
            profile = application.profile
            if profile is None:
                self._output.write(
                    "Current shell profile: no profile configured\n"
                    "You can change profiles using: .profile profile-name\n")
            else:
                self._output.write("Current shell profile: %s\n" % profile)
        elif len(command) == 2:
            new_profile_name = command[1]
            application.profile = new_profile_name
            self._output.write("Current shell profile changed to: %s\n" %
                               new_profile_name)
        else:
            self._err.write(self.USAGE % "Usage:\n%s\n")
dataset/ETHPy150Open awslabs/aws-shell/awsshell/app.py/ProfileHandler.run/swapped operands of `%`