def getter(self):
     keyword = self.keyword
     keyword_settings = get_storage() 
     keyword_storage = keyword_settings.keyword_storage
     return keyword_storage[keyword]
 def setter(self, value):
     keyword_settings = get_storage() 
     keyword_storage = keyword_settings.keyword_storage
     keyword_storage[self.keyword] = value or []
     keyword_settings.keyword_storage = keyword_storage
 def getter(self):
     # Example: [u'david\xe8']
     keyword = self.keyword
     keyword_settings = get_storage()
     keyword_storage = keyword_settings.keyword_storage
     return keyword_storage[keyword]
 def _keyword_settings(self):
     """ Return the keywor settings storage """
     keyword_settings = get_storage() 
     return keyword_settings
Beispiel #5
0
 def _get_storage(self):
     keyword_settings = get_storage()
     keyword_storage = keyword_settings.keyword_storage
     return keyword_storage
Beispiel #6
0
 def setter(self, value):
     keyword_settings = get_storage()
     keyword_storage = keyword_settings.keyword_storage
     keyword_storage[self.keyword] = value or []
     keyword_settings.keyword_storage = keyword_storage
Beispiel #7
0
 def getter(self):
     # Example: [u'david\xe8']
     keyword = self.keyword
     keyword_settings = get_storage()
     keyword_storage = keyword_settings.keyword_storage
     return keyword_storage[keyword]
Beispiel #8
0
 def _keyword_settings(self):
     """ Return the keywor settings storage """
     keyword_settings = get_storage()
     return keyword_settings
 def _get_storage(self):
     keyword_settings = get_storage()
     keyword_storage = keyword_settings.keyword_storage
     return keyword_storage