From 5a5bb1f03f05323a84a161261a51353a6156359c Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 23 Jan 2017 21:29:36 +0000 Subject: [PATCH] Removed useless code. - Legacy-Id: 12718 --- ietf/doc/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ietf/doc/models.py b/ietf/doc/models.py index 5e199c695..2970204d7 100644 --- a/ietf/doc/models.py +++ b/ietf/doc/models.py @@ -503,8 +503,6 @@ class Document(DocumentInfo): super(Document, self).save(*args, **kwargs) def telechat_date(self, e=None): - if hasattr(self, '_telechat_date'): - return self._telechat_date if not e: e = self.latest_event(TelechatDocEvent, type="scheduled_for_telechat") return e.telechat_date if e and e.telechat_date and e.telechat_date >= datetime.date.today() else None