summaryrefslogtreecommitdiff
path: root/ick2/buildsapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/buildsapi.py')
-rw-r--r--ick2/buildsapi.py4
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