HomeLubuntu Development

Fix UnboundLocalError in automirror module

Authored by apt-ghetto on Mon, Sep 9, 12:57 AM.

Description

Fix UnboundLocalError in automirror module

Summary: When opening an URL, an error may be raised and the wrong, not defined variable was logged.

Test Plan: Create an HTTPError or an URLError (socket.timeout), when opening "https://ipapi.co/json"

Reviewers: wxl, tsimonq2, kc2bez

Reviewed By: wxl, kc2bez

Differential Revision: https://phab.lubuntu.me/D42

Details

Committed
wxlMon, Sep 9, 12:58 AM
Pushed
wxlMon, Sep 9, 12:58 AM
Reviewer
wxl
Differential Revision
D42: Fix UnboundLocalError in automirror module
Parents
rCALASETTINGScd7fa92d1541: Clean up Calamares settings.
Branches
Unknown
Tags
Unknown
References
tag: ubuntu/1%19.10.5