molior
molior copied to clipboard
UnboundLocalError in mirror API
Oct 08 09:44:57 molior-test molior[50645]: local variable 'state' referenced before assignment
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/molior/molior/worker_aptly.py", line 242, in finalize_mirror
upd_progress = await aptly.mirror_get_progress(task_id)
File "/usr/lib/python3/dist-packages/molior/aptly/api.py", line 399, in mirror_get_progress
state.update(progress)
UnboundLocalError: local variable 'state' referenced before assignment