From 36a5a6c2e4b8836f534b6d1020acd2e39927a251 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Tue, 21 Aug 2018 02:18:37 -0500 Subject: [PATCH] pkglistgen: utilize osclib.core.repository_path_expand(). --- pkglistgen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkglistgen.py b/pkglistgen.py index 122045cb..1f619a0f 100755 --- a/pkglistgen.py +++ b/pkglistgen.py @@ -40,6 +40,7 @@ from osc.core import show_results_meta from osc.core import undelete_package from osc import conf from osclib.conf import Config, str2bool +from osclib.core import repository_path_expand from osclib.stagingapi import StagingAPI from osclib.util import project_list_family from osclib.util import project_list_family_prior @@ -525,7 +526,7 @@ class PkgListGen(ToolBase.ToolBase): g.ignore(self.groups[e]) def expand_repos(self, project, repo='standard'): - return StagingAPI(self.apiurl, project).expanded_repos(repo) + return repository_path_expand(self.apiurl, project, repo) def _check_supplements(self): tocheck = set()