Skip to content

Commit e63865b

Browse files
Sorting the IESG comments and discusses by date.
- Legacy-Id: 2641
1 parent 14de687 commit e63865b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

suresh/ietf/idrfc/idrfc_wrapper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,9 @@ def get_no_record(self):
696696
return self.get("No Record")
697697

698698
def get_texts(self):
699-
return [p for p in self.position_list() if ('has_text' in p) and p['has_text']]
699+
ret = [p for p in self.position_list() if p.get('has_text')]
700+
ret.sort(key=lambda pos:pos.get('comment_date',pos.get('discuss_date')),reverse=True)
701+
return ret
700702

701703
def dict(self):
702704
summary = {}

0 commit comments

Comments
 (0)