LinkageMapMachO: don't strip scanmacho output like ELF, fixes bug #383691
authorFabian Groffen <grobian@gentoo.org>
Tue, 20 Sep 2011 19:01:13 +0000 (21:01 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 20 Sep 2011 19:01:13 +0000 (21:01 +0200)
pym/portage/util/_dyn_libs/LinkageMapMachO.py

index 10cf4825648d1573683788625abd28ba66cae4c1..492334ee4418d0ef29d8edd875281eb8b271d824 100644 (file)
@@ -251,7 +251,7 @@ class LinkageMapMachO(object):
                                                writemsg_level(_("\nError decoding characters " \
                                                        "returned from scanmacho: %s\n\n") % (l,),
                                                        level=logging.ERROR, noiselevel=-1)
-                                       l = l[3:].rstrip("\n")
+                                       l = l.rstrip("\n")
                                        if not l:
                                                continue
                                        fields = l.split(";")