Mercurial > kallithea
comparison rhodecode/model/changeset_status.py @ 2478:8eab81115660 beta
white space cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 18 Jun 2012 00:41:10 +0200 |
parents | fd0a822481ec |
children | 4d3032431d4f |
comparison
equal
deleted
inserted
replaced
2476:19d94d752952 | 2478:8eab81115660 |
---|---|
118 new_status.pull_request = pull_request | 118 new_status.pull_request = pull_request |
119 return new_status | 119 return new_status |
120 | 120 |
121 if revision: | 121 if revision: |
122 new_status = _create_status(user=user, repo=repo, status=status, | 122 new_status = _create_status(user=user, repo=repo, status=status, |
123 comment=comment, revision=revision, | 123 comment=comment, revision=revision, |
124 pull_request=None) | 124 pull_request=None) |
125 self.sa.add(new_status) | 125 self.sa.add(new_status) |
126 return new_status | 126 return new_status |
127 elif pull_request: | 127 elif pull_request: |
128 #pull request can have more than one revision associated to it | 128 #pull request can have more than one revision associated to it |