diff options
Diffstat (limited to 'lib/portage/util/_dyn_libs/soname_deps.py')
-rw-r--r-- | lib/portage/util/_dyn_libs/soname_deps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/portage/util/_dyn_libs/soname_deps.py b/lib/portage/util/_dyn_libs/soname_deps.py index 7d65209a4..04d1f129f 100644 --- a/lib/portage/util/_dyn_libs/soname_deps.py +++ b/lib/portage/util/_dyn_libs/soname_deps.py @@ -7,8 +7,8 @@ import functools from itertools import chain import os import re +import shlex -from portage.util import shlex_split from portage.util import ( normalize_path, varexpand, @@ -45,10 +45,10 @@ class SonameDepsProcessor: @staticmethod def _exclude_pattern(s): - # shlex_split enables quoted whitespace inside patterns + # shlex.split enables quoted whitespace inside patterns if s: pat = re.compile( - "|".join(fnmatch.translate(x.lstrip(os.sep)) for x in shlex_split(s)) + "|".join(fnmatch.translate(x.lstrip(os.sep)) for x in shlex.split(s)) ) else: pat = None |