Encodage cass. a a l'air fix, mais je ne sais toujours pas vraiment d'o a vient...
darcs-hash:20070531090324-f46e9-60934f552dfa82357530d7ee093ac8ef1f614a14.gz
This commit is contained in:
parent
678220f12e
commit
1ce1644112
6 changed files with 24 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: iso-8859-15 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
# #############################################################
|
||||
# ..
|
||||
# .... ............ ........
|
||||
|
@ -72,10 +72,11 @@ if (options.port):
|
|||
|
||||
# import du CransLdap qu'il va bien (on utilise CransLdap et non crans_ldap car on veut
|
||||
# forcer l'ouverture d'une nouvelle connexion à chaque login)
|
||||
if (cherrypy.config.configMap["global"]["server.environment"] == "development"):
|
||||
from ldap_crans_test import CransLdap
|
||||
else:
|
||||
from ldap_crans import CransLdap
|
||||
#if (cherrypy.config.configMap["global"]["server.environment"] == "development"):
|
||||
# from ldap_crans_test import CransLdap
|
||||
#else:
|
||||
# from ldap_crans import CransLdap
|
||||
from ldap_crans import CransLdap
|
||||
|
||||
sys.path.append(cherrypy.config.get('rootDir'))
|
||||
# ######################################################## #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue