Package: vitrage / 14.0.0-4

reproducible-build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2018-05-20
Forwarded: not-needed

Index: vitrage/vitrage/api/__init__.py
===================================================================
--- vitrage.orig/vitrage/api/__init__.py
+++ vitrage/vitrage/api/__init__.py
@@ -25,9 +25,9 @@ OPTS = [
                help='Configuration file for WSGI definition of API.'),
     cfg.IntOpt('workers', default=1, min=1,
                help='Number of workers for vitrage API server.'),
-    cfg.StrOpt('auth_mode', default='keystone', choices={'keystone',
+    cfg.StrOpt('auth_mode', default='keystone', choices=('keystone',
                                                          'noauth',
-                                                         'keycloak'},
+                                                         'keycloak'),
                help='Authentication mode to use.'),
     cfg.BoolOpt('check_backend', default=True,
                 help='Check that backend is ready before an api call')