Show More
@@ -442,14 +442,6 b' class PullrequestsController(BaseRepoCon' | |||||
442 | c.comments = cc_model.get_comments(c.rhodecode_db_repo.repo_id, |
|
442 | c.comments = cc_model.get_comments(c.rhodecode_db_repo.repo_id, | |
443 | pull_request=pull_request_id) |
|
443 | pull_request=pull_request_id) | |
444 |
|
444 | |||
445 | try: |
|
|||
446 | cur_status = c.statuses[c.pull_request.revisions[0]][0] |
|
|||
447 | except Exception: |
|
|||
448 | log.error(traceback.format_exc()) |
|
|||
449 | cur_status = 'undefined' |
|
|||
450 | if c.pull_request.is_closed() and 0: |
|
|||
451 | c.current_changeset_status = cur_status |
|
|||
452 | else: |
|
|||
453 |
|
|
445 | # changeset(pull-request) status calulation based on reviewers | |
454 |
|
|
446 | c.current_changeset_status = cs_model.calculate_status( | |
455 |
|
|
447 | c.pull_request_reviewers, |
General Comments 0
You need to be logged in to leave comments.
Login now