File: reproducible-build.patch

package info (click to toggle)
vitrage 15.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,908 kB
  • sloc: python: 35,107; sh: 405; makefile: 64
file content (21 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (4)
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')