tests/histedit-helpers.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 08 Dec 2022 15:33:19 +0100
changeset 50950 7a8ea1397816
parent 27350 890273343170
permissions -rw-r--r--
check-code: drop the `safehasattr` rule Since we no longer supports Python 2 we no longer needs to use a custom function to compensate the short comings of the global `hasattr` function in it. We cannot use the Python 3 `hasattr` function instead.

fixbundle() {
    grep -v 'saving bundle' | grep -v 'saved backup' | \
        grep -v added | grep -v adding | \
        grep -v "unable to find 'e' for patching" | \
        grep -v "e: No such file or directory" | \
    cat
}