Actions
Issue #9022
closederrors fetching repomd.xml will fail with python error 'local variable 'result' referenced before assignment'
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:
Description
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 1013, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 709, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 732, in _execute
result = self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 227, in synchronize
remote_url = fetch_remote_url(remote)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 141, in fetch_remote_url
if get_repomd_file(remote, remote_url):
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 110, in get_repomd_file
return result
UnboundLocalError: local variable 'result' referenced before assignment
Related issues
Actions