ProPeler
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel-ccs
/
txdav
/
base
/
propertystore
/
Filename :
base.pyc
back
Copy
� �t�ac @ s� d Z d d g Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z d e f d � � YZ d e e f d � � YZ d � Z d S( s Base property store. t AbstractPropertyStoret PropertyNamei����( t Logger( t element( t encodeXMLName( t lookupElement( t TwistedGETContentMD5t TwistedQuotaRootProperty( t IPropertyStoret IPropertyName( t DictMixin( t implementsc B s� e Z d Z e � Z e e � e d � � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s Property name. c C sq | j d � } | d k s? t | � | k s? | d d k rU t d | f � � n t | d | !| | d � S( Nt }i����i t {s Invalid sname: %ri ( t findt lent TypeErrorR ( t snamet index( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt fromString0 s 0c C s t | j | j � S( N( R t namespacet name( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt fromElement9 s c C s | | _ | | _ d S( N( R R ( t selfR R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt __init__= s c C s | j | j f S( sD Return a value to use for hashing and comparisons. ( R R ( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt _cmpvalA s c C s t | j � � S( N( t hashR ( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt __hash__H s c C s) t | t � s t S| j � | j � k S( N( t isinstanceR t NotImplementedR ( R t other( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt __eq__K s c C s) t | t � s t S| j � | j � k S( N( R R R R ( R R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt __ne__P s c C s d | j j | j � f S( Ns <%s: %s>( t __class__t __name__t toString( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt __repr__U s c C s t | j | j � S( N( R R R ( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyR# [ s c C s t | j | j f � S( N( R R R ( R ( ( s0 /opt/cpanel-ccs/txdav/base/propertystore/base.pyt toElement^ s ( R"