summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/package_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 71e5b502e7..3b1d24fff2 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -638,8 +638,8 @@ class PackageManager(object, metaclass=ABCMeta):
638 def construct_uris(self, uris, base_paths): 638 def construct_uris(self, uris, base_paths):
639 def _append(arr1, arr2, sep='/'): 639 def _append(arr1, arr2, sep='/'):
640 res = [] 640 res = []
641 narr1 = [string.rstrip(a, sep) for a in arr1] 641 narr1 = [a.rstrip(sep) for a in arr1]
642 narr2 = [string.lstrip(string.rstrip(a, sep), sep) for a in arr2] 642 narr2 = [a.rstrip(sep).lstrip(sep) for a in arr2]
643 for a1 in narr1: 643 for a1 in narr1:
644 if arr2: 644 if arr2:
645 for a2 in narr2: 645 for a2 in narr2: