[ostree] ostbuild: further fixes to pull-components
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostbuild: further fixes to pull-components
- Date: Mon, 7 May 2012 21:56:01 +0000 (UTC)
commit 1de0cc238bb65e8035802150cb8d9b43d4a3dcbc
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Sun May 6 21:47:01 2012 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_pull_components.py b/src/ostbuild/pyostbuild/builtin_pull_components.py
index 5d0e525..501f855 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]