summaryrefslogtreecommitdiff
path: root/ick2/projectapi.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-18 10:49:20 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-18 10:49:20 +0300
commitcd41fb97dcf8b2c271090c44a6d299f8f87c6217 (patch)
tree92024d274bb26090af42ddb97d423c2d4786f3b5 /ick2/projectapi.py
parent57a27b0432a0d9b8877ea50a554294326302e7da (diff)
downloadick2-cd41fb97dcf8b2c271090c44a6d299f8f87c6217.tar.gz
Revert "Add: TokenGetter"
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
Diffstat (limited to 'ick2/projectapi.py')
-rw-r--r--ick2/projectapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/projectapi.py b/ick2/projectapi.py
index 00fce8a..a854716 100644
--- a/ick2/projectapi.py
+++ b/ick2/projectapi.py
@@ -50,7 +50,7 @@ class ProjectAPI(ick2.ResourceApiBase):
]
def trigger_project(self, project, **kwargs): # pragma: no cover
- token = self._token_getter.get_token()
+ token = 'FIXME'
with self._trans.modify(token, 'projects', project) as p:
self._start_build(token, p)
return {'status': ick2.BUILD_TRIGGERED}