Ñò
—ã=Pc           @   sü   d  Z  d d k Z d d k Z d Z d Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ d e f d „  ƒ  YZ	 d e f d „  ƒ  YZ
 d e f d „  ƒ  YZ d e f d „  ƒ  YZ d d d „  ƒ  YZ d d „ Z d „  Z d d k Z d S(   s—   
Suds is a lightweight SOAP python client that provides a service proxy 
for Web Services.
@var properties: Library properties.
@type properties: dict
iÿÿÿÿNs   0.3.7s   GA R580-20091016t   MethodNotFoundc           B   s   e  Z d  „  Z RS(   c         C   s   t  i |  d | ƒ d  S(   Ns   Method not found: '%s'(   t	   Exceptiont   __init__(   t   selft   name(    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   '   s    (   t   __name__t
   __module__R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR    &   s   t   PortNotFoundc           B   s   e  Z d  „  Z RS(   c         C   s   t  i |  d | ƒ d  S(   Ns   Port not found: '%s'(   R   R   (   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   +   s    (   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   *   s   t   ServiceNotFoundc           B   s   e  Z d  „  Z RS(   c         C   s   t  i |  d | ƒ d  S(   Ns   Service not found: '%s'(   R   R   (   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   /   s    (   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   .   s   t   TypeNotFoundc           B   s   e  Z d  „  Z RS(   c         C   s   t  i |  d t | ƒ ƒ d  S(   Ns   Type not found: '%s'(   R   R   t   tostr(   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   3   s    (   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR	   2   s   t
   BuildErrorc           B   s   e  Z d  Z d „  Z RS(   s4  
        An error occured while building a instance of (%s).  As a result
        the object you requested could not be constructed.  It is recommended
        that you construct the type manually using a Suds object.
        Please open a ticket with a description of this error.
        Reason: %s
        c         C   s!   t  i |  t i | | f ƒ d  S(   N(   R   R   R   t   msg(   R   R   t	   exception(    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   ?   s    (   R   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   6   s   t   SoapHeadersNotPermittedc           B   s   e  Z d  Z d „  Z RS(   sµ   
        Method (%s) was invoked with SOAP headers.  The WSDL does not
        define SOAP headers for this method.  Retry without the soapheaders
        keyword argument.
        c         C   s   t  i |  |  i | ƒ d  S(   N(   R   R   R   (   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   I   s    (   R   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   B   s   t   WebFaultc           B   s   e  Z d  „  Z RS(   c         C   sA   t  | d ƒ o t i |  d | i ƒ n | |  _ | |  _ d  S(   Nt   faultstrings   Server raised fault: '%s'(   t   hasattrR   R   R   t   faultt   document(   R   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   M   s    	(   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   L   s   t   Reprc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   | |  _  d  S(   N(   t   x(   R   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   X   s    c         C   s   t  |  i ƒ S(   N(   t   reprR   (   R   (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyt   __str__Z   s    (   R   R   R   R   (    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR   W   s   	c         C   sG  t  |  t ƒ o# | d j o |  S|  i | ƒ Sn t  |  t ƒ ov d g } xO |  D]G } t  | t ƒ o | i | ƒ n | i t | ƒ ƒ | i d ƒ qS W| i d ƒ d i | ƒ St  |  t ƒ ov d g } xO |  D]G } t  | t ƒ o | i | ƒ n | i t | ƒ ƒ | i d ƒ qÙ W| i d ƒ d i | ƒ St  |  t	 ƒ oÕ d g } x® |  i
 ƒ  D]  } t  | d t ƒ o | i | d ƒ n | i t | d ƒ ƒ | i d	 ƒ t  | d
 t ƒ o | i | d
 ƒ n | i t | d
 ƒ ƒ | i d ƒ qeW| i d ƒ d i | ƒ Sy t |  ƒ SWn t |  ƒ SXd S(   s7    get a unicode safe string representation of an object t   (s   , t   )t    t   [t   ]t   {i    s    = i   t   }N(   t
   isinstancet
   basestringt   Nonet   encodet   tuplet   appendR
   t   joint   listt   dictt   itemst   unicodet   str(   t   objectt   encodingt   st   item(    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyR
   a   sT    	 	 	 c         C   s   |  i  i d t t |  ƒ ƒ S(   Nt   :(   t	   __class__R   t   hext   id(   t   obj(    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyt   objid   s    (    (   t   __doc__t   ost   syst   __version__t	   __build__R   R    R   R   R	   R   R   R   R   R!   R
   R4   t   client(    (    (    sL   /usr/local/lib/python2.6/dist-packages/suds-0.3.7-py2.6.egg/suds/__init__.pyt   <module>   s   

/	