コード例 #1
0
 def add_custom_attributes(self, key, value):
     AbstractPersonalData.add_custom_attributes(self, key, value)
     self.config.set(SECTION_CUSTOM, key, value.encode(self.encoding))
コード例 #2
0
 def add_custom_attributes(self, pair):
     """sets new value for custom_attributes"""
     AbstractPersonalData.add_custom_attributes(self, pair)
     key, value = pair
     self.custom_attributes[key] = value
コード例 #3
0
 def add_custom_attributes(self, key, value):
     AbstractPersonalData.add_custom_attributes(self, key, value)
     self.custom_attributes[key] = value
コード例 #4
0
 def add_custom_attributes(self, pair):
     """sets new value for custom_attributes"""
     AbstractPersonalData.add_custom_attributes(self, pair)
     key, value = pair
     self.config.set(SECTION_CUSTOM, key, value.encode(self.encoding))