LinkageMapELF.getOwners(): add note about plibs
authorZac Medico <zmedico@gentoo.org>
Sun, 24 Jul 2011 02:57:52 +0000 (19:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 24 Jul 2011 02:57:52 +0000 (19:57 -0700)
For preserved libraries, the owner(s) may have been been previously
uninstalled, but these uninstalled owners can be returned by this
method since they are registered in the PreservedLibsRegistry.

pym/portage/util/_dyn_libs/LinkageMapELF.py

index 2ad97bbc7338b7ee7b46b1745fa973cde2f2fad9..cf8def34b97de67ad1b1eaedd9ee6e32bbc6bce8 100644 (file)
@@ -568,6 +568,11 @@ class LinkageMapELF(object):
                if the object is unknown. Returns an empty tuple if the owner(s)
                are unknown.
 
+               NOTE: For preserved libraries, the owner(s) may have been been
+               previously uninstalled, but these uninstalled owners can be
+               returned by this method since they are registered in the
+               PreservedLibsRegistry.
+
                @param obj: absolute path to an object
                @type obj: string (example: '/usr/bin/bar')
                @rtype: tuple