mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
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.
This commit is contained in:
parent
5d306dabda
commit
1de0cc238b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user