[gestion/ldap_crans.py] pas de typeclasses en python

Ignore-this: e338bd6923ca9f39b8044745625211d9

darcs-hash:20090903145304-bd074-d94ccd2cc355f2338819ccc91c505d86bf4c789b.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-09-03 16:53:04 +02:00
parent 25d2371a65
commit 2d809f9726

View file

@ -539,7 +539,7 @@ class CransLdap:
# Conversion avant stockage dans la base
if type(args) == str: args = [args]
args = map(lambda x:preattr(x)[1], args)
if type(start) == int: start = [start]
if type(start) in [int, float]: start = [start]
start = map(lambda x:preattr(x)[1], start)
if new in serv.keys():