File: //opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_getcwd.pyc
�
�A�[c @ sC d Z d d l m Z d d l m Z d e j f d � � YZ d S( um
Fixer for os.getcwd() -> os.getcwdu().
Also warns about "from os import getcwd", suggesting the above form.
i����( t
fixer_base( t Namet FixGetcwdc B s e Z d Z d � Z RS( u�
power< 'os' trailer< dot='.' name='getcwd' > any* >
|
import_from< 'from' 'os' 'import' bad='getcwd' >
c C se d | k r5 | d } | j t d d | j �� n, d | k rU | j | d � d St d � � d S( Nu nameu getcwdut prefixu badu# import os, use os.getcwd() instead.u, For some reason, the pattern matcher failed.( t replaceR R t cannot_convertt
ValueError( t selft nodet resultst name( ( sO /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_getcwd.pyt transform s
( t __name__t
__module__t PATTERNR ( ( ( sO /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_getcwd.pyR s N( t __doc__t lib2to3R t lib2to3.fixer_utilR t BaseFixR ( ( ( sO /opt/alt/python27/lib/python2.7/site-packages/libpasteurize/fixes/fix_getcwd.pyt <module> s