Mercurial > p > roundup > code
changeset 7009:8e19c390e88c
Value is unused, indicate that by leading underscore (flake8)
in fix_journal we reset the value of a password prop discardig the old value.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 07 Oct 2022 13:21:01 -0400 |
| parents | f92c56e74f82 |
| children | 1bb7aa8414b8 |
| files | roundup/backends/back_anydbm.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py Fri Oct 07 13:18:01 2022 -0400 +++ b/roundup/backends/back_anydbm.py Fri Oct 07 13:21:01 2022 -0400 @@ -571,7 +571,7 @@ return journal for j in journal: if j[3] == 'set': - for k, v in j[4].items(): + for k, _v in j[4].items(): if k in pwprops and j[4][k]: j[4][k] = password.JournalPassword(j[4][k]) return journal
