Example #1
0
    def resuscitate(self):
        self.active = False
        self.end = datetime.now()
        self.closed_reason = "Pulse received"
        heart = self.parent()
        heart.last_closed_reason = self.closed_reason
        resuscitate_mail(self.parent())

        heart.put()
        self.put()
Example #2
0
    def resuscitate(self):
        self.active = False
        self.end = datetime.now()
        self.closed_reason = "Pulse received"
        heart = self.parent()
        heart.last_closed_reason = self.closed_reason
        resuscitate_mail(self.parent())

        heart.put()
        self.put()
Example #3
0
    def resuscitate(self):
        self.active = False
        self.end = datetime.now()
        resuscitate_mail(self.parent())

        self.put()