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:
gdetrez 2007-05-31 11:03:24 +02:00
parent 678220f12e
commit 1ce1644112
6 changed files with 24 additions and 21 deletions

View file

@ -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'))
# ######################################################## #