def untrash(self, propagate=True): self.trashtime = None self.experiment.untrash(propagate=False) if propagate: for session in self.sessions: session.untrash()
def untrash(self): if self.is_trash: self.trashtime = None self.experiment.untrash() for session in self.sessions: session.untrash()