Example #1
0
 def __init__(self, realm, category, target, 
              comment=None, author=None, changes={},
              attachment=None):
     AnnouncementEvent.__init__(self, realm, category, target)
     self.author = author
     self.comment = comment
     self.changes = changes
     self.attachment = attachment
Example #2
0
 def __init__(self, realm, category, target, 
              comment=None, author=None, version=None, 
              timestamp=None, remote_addr=None,
              attachment=None):
     AnnouncementEvent.__init__(self, realm, category, target)
     self.author = author
     self.comment = comment
     self.version = version
     self.timestamp = timestamp
     self.remote_addr = remote_addr
     self.attachment = attachment
Example #3
0
 def __init__(self,
              realm,
              category,
              target,
              comment=None,
              author=None,
              changes={},
              attachment=None):
     AnnouncementEvent.__init__(self, realm, category, target)
     self.author = author
     self.comment = comment
     self.changes = changes
     self.attachment = attachment
Example #4
0
 def get_basic_terms(self):
     for term in AnnouncementEvent.get_basic_terms(self):
         yield term
     ticket = self.target
     yield ticket['component']
Example #5
0
 def get_basic_terms(self):
     for term in AnnouncementEvent.get_basic_terms(self):
         yield term
     ticket = self.target
     yield ticket['component']