Combine blocks
@@ -116,12 +116,12 @@ def autoupdate(runner, tags_only, repo=None):
input_config = load_config(runner.config_file_path)
for repo_config in input_config['repos']:
+ if (
+ is_local_repo(repo_config) or
+ is_meta_repo(repo_config) or
# Skip updating any repo_configs that aren't for the specified repo
- if repo and repo != repo_config['repo']:
- output_repos.append(repo_config)
- continue
-
- if is_local_repo(repo_config) or is_meta_repo(repo_config):
+ repo and repo != repo_config['repo']
+ ):
output_repos.append(repo_config)
continue
output.write('Updating {}...'.format(repo_config['repo']))
