@staticmethod<EOL><INDENT>def _normalize_merge_diff_incr(diff):<DEDENT>
new_diff = []<EOL>changes_found = False<EOL>for line in diff.splitlines():<EOL><INDENT>if re.search(r"<STR_LIT>", line):<EOL><INDENT>changes_found = True<EOL><DEDENT>elif "<STR_LIT>" in line:<EOL><INDENT>if not changes_found:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>continue<EOL><DEDENT><DEDENT>if line.strip() == "<STR_LIT:end>":<EOL><INDENT>continue<EOL><DEDENT>elif "<STR_LIT>" in line:<EOL><INDENT>continue<EOL><DEDENT>elif line.strip():<EOL><INDENT>if re.search(r"<STR_LIT>", line.strip()):<EOL><INDENT>new_diff.append("<STR_LIT:->" + line)<EOL><DEDENT>else:<EOL><INDENT>new_diff.append("<STR_LIT:+>" + line)<EOL><DEDENT><DEDENT><DEDENT>return "<STR_LIT:\n>".join(new_diff)<EOL>
Make the compare config output look better.

        Cisco IOS incremental-diff output

        No changes:
        !List of Commands:
        end
        !No changes were found