1 |
Signed-off-by: Aaron Bauman <bman@g.o> |
2 |
--- |
3 |
lib/portage/util/_dyn_libs/PreservedLibsRegistry.py | 10 +++++----- |
4 |
1 file changed, 5 insertions(+), 5 deletions(-) |
5 |
|
6 |
diff --git a/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py b/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py |
7 |
index d6f1d5e29..53eb63a5b 100644 |
8 |
--- a/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py |
9 |
+++ b/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py |
10 |
@@ -34,7 +34,7 @@ class PreservedLibsRegistry: |
11 |
} |
12 |
|
13 |
def __init__(self, root, filename): |
14 |
- """ |
15 |
+ """ |
16 |
@param root: root used to check existence of paths in pruneNonExisting |
17 |
@type root: String |
18 |
@param filename: absolute path for saving the preserved libs records |
19 |
@@ -149,7 +149,7 @@ class PreservedLibsRegistry: |
20 |
|
21 |
def register(self, cpv, slot, counter, paths): |
22 |
""" Register new objects in the registry. If there is a record with the |
23 |
- same packagename (internally derived from cpv) and slot it is |
24 |
+ same packagename (internally derived from cpv) and slot it is |
25 |
overwritten with the new data. |
26 |
@param cpv: package instance that owns the objects |
27 |
@type cpv: CPV (as String) |
28 |
@@ -181,7 +181,7 @@ class PreservedLibsRegistry: |
29 |
@type slot: String |
30 |
""" |
31 |
self.register(cpv, slot, counter, []) |
32 |
- |
33 |
+ |
34 |
def pruneNonExisting(self): |
35 |
""" Remove all records for objects that no longer exist on the filesystem. """ |
36 |
|
37 |
@@ -224,13 +224,13 @@ class PreservedLibsRegistry: |
38 |
self._data[cps] = (cpv, counter, paths) |
39 |
else: |
40 |
del self._data[cps] |
41 |
- |
42 |
+ |
43 |
def hasEntries(self): |
44 |
""" Check if this registry contains any records. """ |
45 |
if self._data is None: |
46 |
self.load() |
47 |
return len(self._data) > 0 |
48 |
- |
49 |
+ |
50 |
def getPreservedLibs(self): |
51 |
""" Return a mapping of packages->preserved objects. |
52 |
@return mapping of package instances to preserved objects |
53 |
-- |
54 |
2.28.0 |