diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-05-13 16:05:12 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-05-13 16:05:12 +0200 |
commit | 132b1f7fabbdb70839159d2522b0dd4c6793e7eb (patch) | |
tree | 4bccffabaaddec1dce75ae7eb96a9875133c2bbd | |
parent | 2f9c509495aaf0f89c10d5d3b1f9fd0944a54cc3 (diff) |
Extend valid GET keys.
-rw-r--r-- | app/handlers/defconf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/handlers/defconf.py b/app/handlers/defconf.py index 5360730..71ee664 100644 --- a/app/handlers/defconf.py +++ b/app/handlers/defconf.py @@ -37,7 +37,9 @@ class DefConfHandler(BaseHandler): def _valid_keys(self, method): valid_keys = { - 'GET': ['job', 'kernel', 'status', 'job_id', 'created'], + 'GET': [ + 'job', 'kernel', 'status', 'job_id', 'created', 'defconfig' + ], } return valid_keys.get(method, None) |