[filter/crans_utils] Commentaire au début

This commit is contained in:
Pierre-Elliott Bécue 2013-04-08 13:06:47 +02:00
parent 8fd228f6bd
commit 66326bc3b9
2 changed files with 14 additions and 2 deletions

View file

@ -3,8 +3,9 @@
#
# CRANS_UTILS.PY-- Utils for Cr@ns gestion
#
# Copyright (c) 2010, Cr@ns <roots@crans.org>
# Author: Antoine Durand-Gasselin <adg@crans.org>
# Copyright (c) 2010-2013, Cr@ns <roots@crans.org>
# Authors: Antoine Durand-Gasselin <adg@crans.org>
# Pierre-Elliott Bécue <becue@crans.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,16 @@
#/usr/bin/env python
# -*- coding: utf8 -*-
#
# filter.py --- Workaround with ldap filters
#
# Redraw filters like attr1=val1&attr2=val2|attr3=val3
# in (|(&(attr1=val1)(attr2=val2))(attr3=val3))
#
# Copyright (C) 2010-2013 Cr@ns <roots@crans.org>
# Author: Pierre-Elliott Bécue <becue@crans.org>
#
#
# License: WTFPL
def human_to_ldap(filtre):
"""