Skip to content
Snippets Groups Projects
Verified Commit 7129dae1 authored by Newbyte's avatar Newbyte :snowflake:
Browse files

mrhlpr.mr: Remove None default value for origin in get_artifacts_zip

It makes no sense to allow None here given that the first usage of
origin is accessing a property of it with the dot operator, an operation
which would be guaranteed to fail on a None value.
parent 3e099e4a
No related branches found
No related tags found
1 merge request!50mrtest: Add support for using an MR as a repo when upgrading
......@@ -119,7 +119,7 @@ def get_status(
)
def get_artifacts_zip(mr_id, no_cache=False, origin=None):
def get_artifacts_zip(mr_id, no_cache=False, origin):
"""Download artifacts from the GitLab API.
:param mr_id: merge request ID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment