Skip to content

Commit 51c4f9e

Browse files
committed
Value is unused, indicate that by leading underscore (flake8)
in fix_journal we reset the value of a password prop discardig the old value.
1 parent c621b66 commit 51c4f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/back_anydbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def fix_journal(self, classname, journal):
571571
return journal
572572
for j in journal:
573573
if j[3] == 'set':
574-
for k, v in j[4].items():
574+
for k, _v in j[4].items():
575575
if k in pwprops and j[4][k]:
576576
j[4][k] = password.JournalPassword(j[4][k])
577577
return journal

0 commit comments

Comments
 (0)