Exemple #1
0
 def as_dict(self):
     result = LogObjectInfo.as_dict(self)
     for attr in ('configuration', 'current_timestamp'):
         result[attr] = getattr(self,attr)
     result['tzinfo_range'] = map(lambda tzi: tzi.as_dict(),
                                  self.tzinfo_range)
     return result