ok
Direktori : /usr/lib/python2.7/site-packages/pip/utils/ |
Current File : //usr/lib/python2.7/site-packages/pip/utils/deprecation.pyc |
� ��abc @@ s� d Z d d l m Z d d l Z d d l Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e e f d � � YZ d e f d � � YZ d a d d d � Z d � Z d S( sN A module that implements tooling to enable easy warnings about deprecations. i ( t absolute_importNt PipDeprecationWarningc B@ s e Z RS( ( t __name__t __module__( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyR s t Pendingc B@ s e Z RS( ( R R ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyR s t RemovedInPip10Warningc B@ s e Z RS( ( R R ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyR s t RemovedInPip11Warningc B@ s e Z RS( ( R R ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyR s t Python26DeprecationWarningc B@ s e Z RS( ( R R ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyR s c C@ s� | d k r7 t d k r� t | | | | | | � q� np t | t � r� t j d � } d | } t | t � r~ | j | � q� | j | � n t | | | | | | � d S( Ns pip.deprecationss DEPRECATION: %s( t Nonet _warnings_showwarningt issubclassR t loggingt getLoggerR t warningt error( t messaget categoryt filenamet linenot filet linet loggert log_message( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyt _showwarning$ s c C@ s; t j d t d t �t d k r7 t j a t t _ n d S( Nt defaultt append( t warningst simplefilterR t TrueR R t showwarningR ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyt install_warning_loggerD s ( t __doc__t __future__R R R t WarningR t objectR R R R R R R R ( ( ( s9 /usr/lib/python2.7/site-packages/pip/utils/deprecation.pyt <module> s