From 50b2a9c9dce56a5e9eac4ecad7cb28bcce449f8b Mon Sep 17 00:00:00 2001 From: schlatterbeck Date: Thu, 6 Oct 2011 07:03:15 +0000 Subject: [PATCH] - fix import/export regression test for anydbm for latest journal fix git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4651 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/backends/back_anydbm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundup/backends/back_anydbm.py b/roundup/backends/back_anydbm.py index 233de40..845b1dc 100644 --- a/roundup/backends/back_anydbm.py +++ b/roundup/backends/back_anydbm.py @@ -586,7 +586,7 @@ class Database(FileStorage, hyperdb.Database, roundupdb.Database): for j in journal: if j[3] == 'set': for k, v in j[4].items(): - if k in pwprops: + if k in pwprops and j[4][k]: j[4][k] = password.JournalPassword(j[4][k]) return journal -- 2.30.2