def create_commit(self, message, author, run_editor,
                      files=[], all_files=False):
        """Commits the given modified files.

        This is expected to be called after applying a patch. This commits the
        patch using information from the review request, opening the commit
        message in $EDITOR to allow the user to update it.
        """
        if run_editor:
            modified_message = edit_text(message)
        else:
            modified_message = message

        if all_files:
            execute(['git', 'add', '--all', ':/'])
        elif files:
            execute(['git', 'add'] + files)

        execute(['git', 'commit', '-m', modified_message,
                 (author.fullname, author.email) % '--author="%s <%s>"'])
dataset/ETHPy150Open reviewboard/rbtools/rbtools/clients/git.py/GitClient.create_commit/swapped operands of `%`