diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-09-02 09:28:50 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-09-02 09:28:50 -0300 |
commit | e4a0abb5fef5b1dcbdf84a29592559f7b716f11d (patch) | |
tree | d85084ffd4d36f52ef506c7caeabada030a6a866 /keymanager | |
parent | 8c89d13fbd8f9fdf748c8ed9995a3c61db1b26b5 (diff) | |
parent | c32a1efec962b309dbe9e2904a991016ad6e575e (diff) |
Merge remote-tracking branch 'kali/bug/assert_nonnull_soledad' into develop
Diffstat (limited to 'keymanager')
-rw-r--r-- | keymanager/src/leap/keymanager/keys.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keymanager/src/leap/keymanager/keys.py b/keymanager/src/leap/keymanager/keys.py index 1c33745..b8e88d4 100644 --- a/keymanager/src/leap/keymanager/keys.py +++ b/keymanager/src/leap/keymanager/keys.py @@ -219,6 +219,8 @@ class EncryptionScheme(object): """ Initialize the database indexes. """ + leap_assert(self._soledad is not None, + "Cannot init indexes with null soledad") # Ask the database for currently existing indexes. db_indexes = dict(self._soledad.list_indexes()) # Loop through the indexes we expect to find. |