diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-12-19 23:25:54 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-12-19 23:25:54 -0500 |
commit | 9adf6cb49c3631858ec2b68029089fb952c023e2 (patch) | |
tree | eebcfe9ce0fd9f7ec021de6e82a87d50f4858550 /scripts | |
parent | scripts/migrate-pax: rename and add to Makefile installs (diff) | |
download | elfix-9adf6cb49c3631858ec2b68029089fb952c023e2.tar.gz elfix-9adf6cb49c3631858ec2b68029089fb952c023e2.tar.bz2 elfix-9adf6cb49c3631858ec2b68029089fb952c023e2.zip |
scripts/{migrate-pax,revdep-pax}: fix print in python2/3
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/migrate-pax | 4 | ||||
-rwxr-xr-x | scripts/revdep-pax | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/migrate-pax b/scripts/migrate-pax index 154f8fa..994d4f7 100755 --- a/scripts/migrate-pax +++ b/scripts/migrate-pax @@ -44,12 +44,12 @@ def run_usage(): print('Bug Reports : http://bugs.gentoo.org/') print('Program Name : migrate') print('Description : Migrate PT_PAX to XATTR_PAX Flags on all system ELF objects') - print(), + print('') print('Usage : migrate -v print out all system ELF objects') print(' : migrate -m [-v] migrate flags on all system ELF objects') print(' : migrate [-h] print out this help') print(' : -v be verbose when migrating') - print() + print('') def main(): diff --git a/scripts/revdep-pax b/scripts/revdep-pax index 0116971..3ac5d2d 100755 --- a/scripts/revdep-pax +++ b/scripts/revdep-pax @@ -408,7 +408,7 @@ def run_usage(): print('Bug Reports : http://bugs.gentoo.org/') print('Program Name : revdep-pax') print('Description : Get or set pax flags on an ELF object') - print('\n'), + print('') print('Usage : revdep-pax -f [-v] print out all forward mappings for all system binaries') print(' : revdep-pax -r [-ve] print out all reverse mappings for all system sonames') print(' : revdep-pax -b OBJECT [-myv] print all forward mappings only for OBJECT') @@ -419,7 +419,7 @@ def run_usage(): print(' : -e only print out executables in shell $PATH') print(' : -m don\'t just report, but mark the mismatching objects') print(' : -y assume "yes" to all prompts for marking (USE CAREFULLY!)') - print('\n'), + print('') def main(): |