##// END OF EJS Templates
Add new attr to pull request
marcink -
r3264:565806c6 beta
parent child Browse files
Show More
@@ -1866,6 +1866,10 b' class PullRequest(Base, BaseModel):'
1866 1866 def is_closed(self):
1867 1867 return self.status == self.STATUS_CLOSED
1868 1868
1869 @property
1870 def last_review_status(self):
1871 return self.statuses[-1].status
1872
1869 1873 def __json__(self):
1870 1874 return dict(
1871 1875 revisions=self.revisions
General Comments 0
You need to be logged in to leave comments. Login now