##// 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 def is_closed(self):
1866 def is_closed(self):
1867 return self.status == self.STATUS_CLOSED
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 def __json__(self):
1873 def __json__(self):
1870 return dict(
1874 return dict(
1871 revisions=self.revisions
1875 revisions=self.revisions
General Comments 0
You need to be logged in to leave comments. Login now