コード例 #1
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     for attr_name, conv, def_val in self.ATTR_NAMES:
         self.get_attribute(attr_name, cd, conv)
     return cd
コード例 #2
0
ファイル: metermail_nodes.py プロジェクト: mcruse/monotone
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     self.get_attribute('mmafmt_channel_id', cd, str)
     self.get_attribute('mmafmt_channel_label', cd, str)
     self.get_attribute('mmafmt_channel_pos', cd, str)
     return cd
コード例 #3
0
ファイル: fsg_nodes.py プロジェクト: mcruse/monotone
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     for attr_name,conv,def_val in self.ATTR_NAMES:
         self.get_attribute(attr_name, cd, conv)
     return cd
コード例 #4
0
 def configuration(self):
     cd = NodeDecorator.configuration(self)
     self.get_attribute('mmafmt_channel_id', cd, str)
     self.get_attribute('mmafmt_channel_label', cd, str)
     self.get_attribute('mmafmt_channel_pos', cd, str)
     return cd