From: schlatterbeck Date: Thu, 6 Oct 2011 07:03:15 +0000 (+0000) Subject: - fix import/export regression test for anydbm for latest journal fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=50b2a9c9dce56a5e9eac4ecad7cb28bcce449f8b;p=roundup.git - 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 --- 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