From adde422145d81f25b4024eac1e78b80e1b4a4531 Mon Sep 17 00:00:00 2001 From: worch Date: Fri, 22 Aug 2008 23:57:24 -0500 Subject: [PATCH] Minor change to docstrings --- pym/portage/dbapi/vartree.py | 5 ++++- vartree.py.2.2_rc8.patch | 9 ++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 48cc283..d2a9cb6 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -522,7 +522,10 @@ class LinkageMap(object): """ Find consumers of an object or object key. - This method may be called with a key from _obj_properties. If this method is going to be called with object keys, to avoid not catching shadowed libraryies, do not pass new _ObjectKey instances to this method. Instead pass the library as a string. + This method may be called with a key from _obj_properties. If this + method is going to be called with an object key, to avoid not catching + shadowed libraries, do not pass new _ObjectKey instances to this method. + Instead pass the obj as a string. In some cases, not all consumers are returned. This may occur when an soname symlink referencing a library is in an object's runpath while diff --git a/vartree.py.2.2_rc8.patch b/vartree.py.2.2_rc8.patch index ea996a6..b27f09f 100644 --- a/vartree.py.2.2_rc8.patch +++ b/vartree.py.2.2_rc8.patch @@ -1,5 +1,5 @@ --- vartree.py.2.2_rc8 2008-08-20 20:49:18.000000000 -0500 -+++ pym/portage/dbapi/vartree.py 2008-08-22 23:52:19.000000000 -0500 ++++ pym/portage/dbapi/vartree.py 2008-08-22 23:57:24.000000000 -0500 @@ -139,14 +139,74 @@ return rValue @@ -333,7 +333,7 @@ providers is a mapping of soname -> set-of-library-paths returned from the findProviders method. -@@ -342,118 +407,186 @@ +@@ -342,118 +407,189 @@ rValue = {} if not self._libs: self.rebuild() @@ -495,7 +495,10 @@ + """ + Find consumers of an object or object key. + -+ This method may be called with a key from _obj_properties. If this method is going to be called with object keys, to avoid not catching shadowed libraryies, do not pass new _ObjectKey instances to this method. Instead pass the library as a string. ++ This method may be called with a key from _obj_properties. If this ++ method is going to be called with an object key, to avoid not catching ++ shadowed libraries, do not pass new _ObjectKey instances to this method. ++ Instead pass the obj as a string. + + In some cases, not all consumers are returned. This may occur when + an soname symlink referencing a library is in an object's runpath while -- 2.11.4.GIT