mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
build_manifest.py: Use more descriprive variable name
This commit is contained in:
parent
45c89ece12
commit
10b1812e70
1 changed files with 4 additions and 4 deletions
|
@ -175,9 +175,9 @@ def find_repository_sha(module: str, branchname: str) -> Tuple[str, str]:
|
|||
if __name__ == "__main__":
|
||||
projects: str = ''
|
||||
project_template: str = " <project name=\"{}\" remote=\"{}\" revision=\"{}\" />\n"
|
||||
user_remote: str = os.path.dirname(CI_PROJECT_URL)
|
||||
if not user_remote.endswith('/'):
|
||||
user_remote += '/'
|
||||
user_remote_url: str = os.path.dirname(CI_PROJECT_URL)
|
||||
if not user_remote_url.endswith('/'):
|
||||
user_remote_url += '/'
|
||||
|
||||
for module in GSTREAMER_MODULES:
|
||||
print(f"Checking {module}:", end=' ')
|
||||
|
@ -196,4 +196,4 @@ if __name__ == "__main__":
|
|||
projects += project_template.format(module, remote, revision)
|
||||
|
||||
with open('manifest.xml', mode='w') as manifest:
|
||||
print(MANIFEST_TEMPLATE.format(user_remote, projects), file=manifest)
|
||||
print(MANIFEST_TEMPLATE.format(user_remote_url, projects), file=manifest)
|
||||
|
|
Loading…
Reference in a new issue