Fix: ERROR: local variable 'certdir' referenced before assignment #43

Merged
solderpunk merged 6 commits from continue/AV-98:master into master 2023-12-09 19:06:17 +00:00
Contributor
Attempt to verify the new certificate fingerprint out-of-band:
<...>
Accept this new certificate? Y/N y
ERROR: local variable 'certdir' referenced before assignment

Problem: used variable certdir is not initialized if _HAS_CRYPTOGRAPHY == False
https://tildegit.org/solderpunk/AV-98/src/branch/master/src/av98/tofu.py#L143

``` Attempt to verify the new certificate fingerprint out-of-band: <...> Accept this new certificate? Y/N y ERROR: local variable 'certdir' referenced before assignment ``` Problem: used variable `certdir` is not initialized if `_HAS_CRYPTOGRAPHY == False` https://tildegit.org/solderpunk/AV-98/src/branch/master/src/av98/tofu.py#L143
continue added 4 commits 2023-12-06 11:04:03 +00:00
continue added 2 commits 2023-12-07 14:49:34 +00:00
solderpunk merged commit 4b06b23e2a into master 2023-12-09 19:06:17 +00:00
Owner

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: solderpunk/AV-98#43
No description provided.