diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-08-11 22:32:11 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-08-17 12:31:36 +0200 |
commit | 76712760885774f883f7bf79ce97931a6e251428 (patch) | |
tree | d535e32c325de0c4ad2f6c31cf7d15a476543aa5 /pynslcd/group.py | |
parent | b0b57234790da62c9dd6ba11b3093e9b80678f94 (diff) |
Explicitly define tables used for cache
This introduces the tables property in the Cache object that is used to
define the used tables.
This also fixes the storing of mulit-valued attributes in the cache.
Diffstat (limited to 'pynslcd/group.py')
-rw-r--r-- | pynslcd/group.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pynslcd/group.py b/pynslcd/group.py index f893ac1..aed6cc0 100644 --- a/pynslcd/group.py +++ b/pynslcd/group.py @@ -75,6 +75,8 @@ class Search(search.LDAPSearch): class Cache(cache.Cache): + tables = ('group_cache', 'group_3_cache') + create_sql = ''' CREATE TABLE IF NOT EXISTS `group_cache` ( `cn` TEXT PRIMARY KEY, |