build_manifest.py: Remove an unnecessary if branch

I can't think of a scenario where this would be hit, and can't
trigger make the find_reposiroty_sha function return None either.
This commit is contained in:
Jordan Petridis 2018-10-24 20:42:58 +03:00
parent 64c0e6fba3
commit 490e936dd1
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -204,9 +204,6 @@ if __name__ == "__main__":
for module in GSTREAMER_MODULES: for module in GSTREAMER_MODULES:
print(f"Checking {module}:", end=' ') print(f"Checking {module}:", end=' ')
remote, revision = find_repository_sha(module, CURRENT_BRANCH) remote, revision = find_repository_sha(module, CURRENT_BRANCH)
if not revision:
revision = 'master'
projects += project_template.format(module, remote, revision) projects += project_template.format(module, remote, revision)
with open('manifest.xml', mode='w') as manifest: with open('manifest.xml', mode='w') as manifest: