Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from fedora-infra/feature/crazypkgs
Browse files Browse the repository at this point in the history
This is always the last 4 digits.
  • Loading branch information
ralphbean committed Aug 6, 2015
2 parents 01f2f7e + 8601da9 commit d5481cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedimg/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_rawxz_url(task_result):
task_id = task_result['task_id']

# extension to base URL to exact file directory
koji_url_extension = "/{}/{}".format(str(task_id)[3:], str(task_id))
koji_url_extension = "/{}/{}".format(str(task_id)[-4:], str(task_id))
full_file_location = fedimg.BASE_KOJI_TASK_URL + koji_url_extension

return full_file_location + "/{}".format(file_name)
Expand Down

0 comments on commit d5481cf

Please sign in to comment.