From 9ef1919463a2c40c2f6be723cc0187fdd789930e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 14 Jul 2019 16:36:34 +0300 Subject: Fix: call superclass method with correct args --- ick2/buildsapi.py | 4 ++-- 1 file 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 -- cgit v1.2.1