diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-07-14 16:36:34 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-07-25 09:19:55 +0300 |
commit | 9ef1919463a2c40c2f6be723cc0187fdd789930e (patch) | |
tree | 3cdaf135aa48f463b69970954d28ff4881d5dd40 | |
parent | 9ff152746c90d5bc3c67273c5de97723b220ae05 (diff) | |
download | ick2-9ef1919463a2c40c2f6be723cc0187fdd789930e.tar.gz |
Fix: call superclass method with correct args
-rw-r--r-- | ick2/buildsapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ick2/buildsapi.py b/ick2/buildsapi.py index 8862c63..2efc3d1 100644 --- a/ick2/buildsapi.py +++ b/ick2/buildsapi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 Lars Wirzenius +# Copyright (C) 2017-2019 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 @@ -60,7 +60,7 @@ class BuildsAPI(ick2.ResourceApiBase): # pragma: no cover raise ick2.MethodNotAllowed('Updating builds directly is not allowed') def list(self, **kwargs): - result = super().list() + result = super().list(**kwargs) items = result[self._type_name] items.sort(key=lambda x: x.get('build_number')) result[self._type_name] = items |