[gestion/ldap_crans.py] pas de typeclasses en python
Ignore-this: e338bd6923ca9f39b8044745625211d9 darcs-hash:20090903145304-bd074-d94ccd2cc355f2338819ccc91c505d86bf4c789b.gz
This commit is contained in:
parent
25d2371a65
commit
2d809f9726
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ class CransLdap:
|
||||||
# Conversion avant stockage dans la base
|
# Conversion avant stockage dans la base
|
||||||
if type(args) == str: args = [args]
|
if type(args) == str: args = [args]
|
||||||
args = map(lambda x:preattr(x)[1], 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)
|
start = map(lambda x:preattr(x)[1], start)
|
||||||
|
|
||||||
if new in serv.keys():
|
if new in serv.keys():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue