diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
commit | cd41fb97dcf8b2c271090c44a6d299f8f87c6217 (patch) | |
tree | 92024d274bb26090af42ddb97d423c2d4786f3b5 /ick2/workapi.py | |
parent | 57a27b0432a0d9b8877ea50a554294326302e7da (diff) | |
download | ick2-cd41fb97dcf8b2c271090c44a6d299f8f87c6217.tar.gz |
Revert "Add: TokenGetter"
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
Diffstat (limited to 'ick2/workapi.py')
-rw-r--r-- | ick2/workapi.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ick2/workapi.py b/ick2/workapi.py index 7ff6f93..3eeb0fa 100644 --- a/ick2/workapi.py +++ b/ick2/workapi.py @@ -41,7 +41,6 @@ class WorkAPI(ick2.APIbase): ] def get_work(self, token=None, **kwargs): - token = self._token_getter.get_token() worker_id = self._get_client_id(**kwargs) ick2.log.log( 'trace', msg_text='Worker wants work', worker_id=worker_id) @@ -141,8 +140,6 @@ class WorkAPI(ick2.APIbase): return None def update_work(self, update, token=None, **kwargs): - token = self._token_getter.get_token() - try: worker_id = update['worker'] build_id = update['build_id'] |