Lines 12-17
try:
Link Here
|
12 |
except ImportError: |
12 |
except ImportError: |
13 |
import pickle |
13 |
import pickle |
14 |
|
14 |
|
|
|
15 |
from portage import abssymlink |
15 |
from portage import os |
16 |
from portage import os |
16 |
from portage import _encodings |
17 |
from portage import _encodings |
17 |
from portage import _os_merge |
18 |
from portage import _os_merge |
Lines 227-233
class PreservedLibsRegistry(object):
Link Here
|
227 |
# removed by _remove_preserved_libs, it calls pruneNonExisting |
228 |
# removed by _remove_preserved_libs, it calls pruneNonExisting |
228 |
# which eliminates the irrelevant symlink from the registry here. |
229 |
# which eliminates the irrelevant symlink from the registry here. |
229 |
for f, target in symlinks.items(): |
230 |
for f, target in symlinks.items(): |
230 |
if os.path.join(os.path.dirname(f), target) in hardlinks: |
231 |
if abssymlink(f, target=target) in hardlinks: |
231 |
paths.append(f) |
232 |
paths.append(f) |
232 |
|
233 |
|
233 |
if len(paths) > 0: |
234 |
if len(paths) > 0: |
234 |
- |
|
|