When opening an URL, an error may be raised and the wrong, not defined variable was logged.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCALASETTINGS Ubuntu Calamares Settings
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Nice catch. To be fair, there's a lot of url and error variables thrown around that aren't the same and this makes the code really unreadable and unmaintainable. If you wanted to go ahead and fix that, using, e.g. httperror instead of error for the HTTPError exception, that would be an added plus.