diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:33 +0300 |
commit | e4604e40a451150d2d5f8bef9d6a9c8dfc00c6d6 (patch) | |
tree | 2588958603fa067487bcecb9a51770b82a5804d2 /ick2/logapi.py | |
parent | 540b55836a7eff3de13acfb54712fa931a8b4a52 (diff) | |
download | ick2-e4604e40a451150d2d5f8bef9d6a9c8dfc00c6d6.tar.gz |
Revert "Change: get and use tokens"
This reverts commit 4dd2e14cd15ad2840cfc3636251802f8eb0bc9ba.
Diffstat (limited to 'ick2/logapi.py')
-rw-r--r-- | ick2/logapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ick2/logapi.py b/ick2/logapi.py index 16aeaef..c43e8a6 100644 --- a/ick2/logapi.py +++ b/ick2/logapi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2019 Lars Wirzenius +# Copyright (C) 2017-2018 Lars Wirzenius # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -59,7 +59,7 @@ class LogAPI(ick2.ResourceApiBase): # pragma: no cover def update(self, body, name, **kwargs): # pragma: no cover raise ick2.MethodNotAllowed('Updating builds directly is not allowed') - def show(self, name, token=None, **kwargs): - log = self._trans.get_resource(token, 'log', str(name)) + def show(self, name, **kwargs): + log = self._trans.get_resource('log', str(name)) ick2.log.log('info', msg_text='Returning log', log=log.as_dict()) return log['log'] |