Projet

Général

Profil

0001-debian-use-open-to-read-secret-key-from-settings-362.patch

Frédéric Péters, 18 septembre 2019 10:29

Télécharger (773 octets)

Voir les différences:

Subject: [PATCH] debian: use open() to read secret key from settings (#36216)

 debian/debian_config_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/debian_config_common.py
18 18

  
19 19
DEBUG = False
20 20

  
21
SECRET_KEY = file('/etc/%s/secret' % PROJECT_NAME).read()
21
SECRET_KEY = open('/etc/%s/secret' % PROJECT_NAME).read()
22 22

  
23 23
ADMINS = (
24 24
        ('Tous', 'root@localhost'),
25
-