Exemple #1
0
 def start(self):
     self._recorders = []
     recorders = self.parent.parent.parent.get_child('recorders')
     for recorder in recorders.children_nodes():
         if recorder.__class__ == Recorder:
             self._recorders.append(recorder)
     Formatter.start(self)
Exemple #2
0
 def start(self):
     self.prefix = ''
     for line in ('line_one', 'line_two', 'line_three', 'line_four',
                  'line_five', 'line_six', 'line_seven', 'line_eight',
                  'line_nine', 'line_ten'):
         self.prefix += string.replace(getattr(self, line), '\\n', '\n')
     Formatter.start(self)
Exemple #3
0
 def start(self):
     self.prefix = ''
     for line in ('line_one','line_two','line_three',
                  'line_four','line_five','line_six',
                  'line_seven','line_eight','line_nine','line_ten'):
         self.prefix += string.replace(getattr(self,line),'\\n','\n')
     Formatter.start(self)
Exemple #4
0
 def start(self):
     self._columns = []
     self.time_function = self.parent.time_function
     columns = self.parent.parent.parent.get_child("columns")
     for child in columns.children_nodes():
         if child.name != "timestamp":
             self._columns.append(child)
     Formatter.start(self)
Exemple #5
0
 def start(self):
     self._columns = []
     self.time_function = self.parent.time_function
     columns = self.parent.parent.parent.get_child('columns')
     for child in columns.children_nodes():
         if child.name != 'timestamp':
             self._columns.append(child)
     Formatter.start(self)
Exemple #6
0
 def start(self):
     content = 'application/x-www-form-urlencoded'
     self.parent.transporter.content_type = content
     Formatter.start(self)