server/sources/ldapuser.py
changeset 8239 c6cdd060212e
parent 8188 1867e252e487
parent 8238 087bb529035c
child 8244 c7d89541e3c5
equal deleted inserted replaced
8237:f854cf9b089e 8239:c6cdd060212e
   175             return self.user_rev_attrs.get(relname)
   175             return self.user_rev_attrs.get(relname)
   176         return None
   176         return None
   177 
   177 
   178     def prepare_columns(self, mainvars, rqlst):
   178     def prepare_columns(self, mainvars, rqlst):
   179         """return two list describing how to build the final results
   179         """return two list describing how to build the final results
   180         from the result of an ldap search (ie a list of dictionnary)
   180         from the result of an ldap search (ie a list of dictionary)
   181         """
   181         """
   182         columns = []
   182         columns = []
   183         global_transforms = []
   183         global_transforms = []
   184         for i, term in enumerate(rqlst.selection):
   184         for i, term in enumerate(rqlst.selection):
   185             if isinstance(term, Constant):
   185             if isinstance(term, Constant):