From 1de0cc238bb65e8035802150cb8d9b43d4a3dcbc Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Sun, 6 May 2012 21:47:01 +0200 Subject: [PATCH] ostbuild: further fixes to pull-components Call self.parse_config() so that all necessary directories are parsed. Also don't call nonexistant self.parse_active_branch() and just use self.active_branch since it's already have been initialized. --- src/ostbuild/pyostbuild/builtin_pull_components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostbuild/pyostbuild/builtin_pull_components.py b/src/ostbuild/pyostbuild/builtin_pull_components.py index 5d0e5254..501f8555 100755 --- a/src/ostbuild/pyostbuild/builtin_pull_components.py +++ b/src/ostbuild/pyostbuild/builtin_pull_components.py @@ -43,10 +43,10 @@ class OstbuildPullComponents(builtins.Builtin): parser.add_argument('targets', nargs='*') args = parser.parse_args(argv) + self.parse_config() self._init_repo() if len(args.targets) == 0: - self.parse_active_branch() targets = [self.active_branch] else: targets = args.targets