diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-10-12 22:27:41 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-10-17 17:03:23 -0400 |
commit | de6e5f3c7ab6f46549ec5c3561e1317e6183f291 (patch) | |
tree | 48fef63720e0dcd33176fb90bc18c96f4b11fbe0 | |
parent | scripts/revdep-pax: fix call to run_usage() on command line errors (diff) | |
download | elfix-de6e5f3c7ab6f46549ec5c3561e1317e6183f291.tar.gz elfix-de6e5f3c7ab6f46549ec5c3561e1317e6183f291.tar.bz2 elfix-de6e5f3c7ab6f46549ec5c3561e1317e6183f291.zip |
scripts/revdep-pax: improve format of output
-rwxr-xr-x | scripts/revdep-pax | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/scripts/revdep-pax b/scripts/revdep-pax index f06bf3d..dd359db 100755 --- a/scripts/revdep-pax +++ b/scripts/revdep-pax @@ -105,7 +105,13 @@ def print_forward_linkings( forward_linkings, so2library_mappings, verbose ): if verbose: print sv if count == 0: - print 'No mismatches' + print + print '\tNo mismatches' + print + else: + print + print '\tMismatches' + print else: if count != 0: print s @@ -159,7 +165,13 @@ def print_reverse_linkings( reverse_linkings, so2library_mappings, verbose ): if verbose: print sv if count == 0: - print 'No mismatches' + print + print '\tNo mismatches' + print + else: + print + print '\tMismatches' + print else: if count != 0: print s @@ -233,7 +245,12 @@ def run_binary(binary, verbose): if count == 0: print - print 'No mismatches' + print '\tNo mismatches' + print + else: + print + print '\tMismatches' + print def run_soname(soname, verbose): @@ -260,7 +277,12 @@ def run_soname(soname, verbose): if count == 0: print - print 'No mismatches' + print '\tNo mismatches' + print + else: + print + print '\tMismatches' + print def main(): try: |