def on_message(self, repo, sign, name, force, message=None):
        kind = None
        if sign:
            kind = '--sign'
        elif message:
            kind = '--annotate'

        # build command
        cmd = ['tag', kind, '--force' if force else None]
        if message:
            cmd += ['-F', '-']
        cmd += [name]

        # run command
        exit, stdout, stderr = self.git(cmd, cwd=repo, stdin=message)
        if exit == 0:
            if stdout:
                panel = self.window.get_output_panel('git-tag')
                panel.run_command('git_panel_write', {'content': stdout})
                self.window.run_command('show_panel', {'panel': 'output.git-tag'})
            else:
                sublime.status_message(name % "Added tag %s")
        else:
            sublime.error_message(self.format_error_message(stderr))
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/tag.py/GitAddTagCommand.on_message/swapped operands of `%`