Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError in mirror API #32

Open
lbolla opened this issue Oct 8, 2021 · 0 comments
Open

UnboundLocalError in mirror API #32

lbolla opened this issue Oct 8, 2021 · 0 comments

Comments

@lbolla
Copy link
Contributor

lbolla commented Oct 8, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant