Projet

Général

Profil

« Précédent | Suivant » 

Révision 83c9a56a

Ajouté par Frédéric Péters il y a presque 4 ans

adapt bits for py3 (#19613)

Voir les différences:

debian/debian_config.py
1
# This file is sourced by "execfile" from mandayejs.settings
1
# This file is sourced by "exec" from mandayejs.settings
2 2

  
3 3
import os
4 4

  
......
7 7
#
8 8
# hobotization (multitenant)
9 9
#
10
execfile('/usr/lib/hobo/debian_config_common.py')
10
exec(open('/usr/lib/hobo/debian_config_common.py').read())
11 11

  
12 12
TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.MandayeJS',) + TENANT_SETTINGS_LOADERS
13 13

  
14 14
#
15 15
# local settings
16 16
#
17
execfile(os.path.join(ETC_DIR, 'settings.py'))
17
exec(open(os.path.join(ETC_DIR, 'settings.py')).read())
18 18

  
19 19
# run additional settings snippets
20
execfile('/usr/lib/hobo/debian_config_settings_d.py')
20
exec(open('/usr/lib/hobo/debian_config_settings_d.py').read())

Formats disponibles : Unified diff