Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
ldap
/
schema
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/ldap/schema/subentry.pyc
m 9Dc @ s d Z d k Z d k Z d k Td k l Z e i i Z h Z xK e D]@ Z e e Z e e d o e e e i <e i e e <n qK We i Z d f d YZ d d Z d S( s ldap.schema.subentry - subschema subentry handling written by Michael Stroeder <michael@stroeder.com> See http://python-ldap.sourceforge.net for details. \$Id: subentry.py,v 1.21 2006/04/10 05:22:19 stroeder Exp $ N( t *( s UserDictt schema_attributet SubSchemac B s t Z d Z d Z d d Z d d Z d Z d Z d d Z d d Z d Z d Z d Z d d d d Z RS( Nc C s! h | _ h | _ x7 t i D]) } t i i | i | <h | i | <q Wt i i | } x t D] } | i | p | | o qe n x t d | | D]r } t | } | | } | | i | | i <t | d o/ x, | i D] } | i | i | | <q Wq q Wqe Wd S( s[ sub_schema_sub_entry Dictionary containing the sub schema sub entry t namesN( t selft name2oidt sedt SCHEMA_CLASS_MAPPINGt valuest ct ldapt cidictt sub_schema_sub_entryt et SCHEMA_ATTRSt attr_typet has_keyt filtert Nonet attr_valuet se_classt se_instancet get_idt hasattrR t name( R R R R R R R R R ( ( t8 /usr/lib/python2.4/site-packages/ldap/schema/subentry.pyt __init__ s, 'c C s h } x | i i D]p } xg | i | i D]R } t | } y | t | i | Wq0 t j o | g | t | <q0 Xq0 Wq W| S( sB Returns a dictionary containing the sub schema sub entry N( t entryR R t keysR R t set strt se_strt SCHEMA_ATTR_MAPPINGt appendt KeyError( R R R R R ( ( R t ldap_entry: s c C s | i | } | o g } x | i D]h } | | } xU | D]M \ } } y+ t | | | j o | i | n Wq>