aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-24 18:25:57 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-12-24 18:25:57 -0500
commit21fc8b25cbe7e1869982083394df59d68a6fe5db (patch)
tree5c1991f4f9e3dc7ee4aa5ce1ec9ca7aa616b0c05
parentmisc/link_maps_portage: fix get_{object_needed,libraries} for multilib (diff)
downloadelfix-21fc8b25cbe7e1869982083394df59d68a6fe5db.tar.gz
elfix-21fc8b25cbe7e1869982083394df59d68a6fe5db.tar.bz2
elfix-21fc8b25cbe7e1869982083394df59d68a6fe5db.zip
misc/link_maps_portage: fix python2-isms
-rwxr-xr-xmisc/link_maps2
-rwxr-xr-xmisc/link_maps_portage2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/link_maps b/misc/link_maps
index 9753794..a7c59ba 100755
--- a/misc/link_maps
+++ b/misc/link_maps
@@ -112,7 +112,7 @@ def get_soname_needed( object_needed, library2soname ):
try:
(soname, abi_check) = library2soname[elf]
if abi != abi_check:
- print "This should never happen!"
+ print("This should never happen!")
sys.exit(1)
soname_needed.setdefault(abi,{}).update({soname:object_needed[abi][elf]})
except KeyError:
diff --git a/misc/link_maps_portage b/misc/link_maps_portage
index 28bc0ea..9b774bc 100755
--- a/misc/link_maps_portage
+++ b/misc/link_maps_portage
@@ -102,7 +102,7 @@ def get_soname_needed( object_needed, library2soname ):
try:
(soname, abi_check) = library2soname[elf]
if abi != abi_check:
- print "This should never happen!"
+ print("This should never happen!")
sys.exit(1)
soname_needed.setdefault(abi,{}).update({soname:object_needed[abi][elf]})
except KeyError: