
    9ii                     J    S r SSKJr  SSKJr   " S S\R
                  5      rg)zm
Fixer for os.getcwd() -> os.getcwdu().
Also warns about "from os import getcwd", suggesting the above form.
    )
fixer_base)Namec                       \ rS rSrSrS rSrg)	FixGetcwd	   z
              power< 'os' trailer< dot='.' name='getcwd' > any* >
              |
              import_from< 'from' 'os' 'import' bad='getcwd' >
              c                     SU;   a)  US   nUR                  [        SUR                  S95        g SU;   a  U R                  US5        g [	        S5      e)Nnamegetcwdu)prefixbadz#import os, use os.getcwd() instead.z,For some reason, the pattern matcher failed.)replacer   r   cannot_convert
ValueError)selfnoderesultsr	   s       ^/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/libpasteurize/fixes/fix_getcwd.py	transformFixGetcwd.transform   sS    g7#DLLj=>w&LMLMM     N)__name__
__module____qualname____firstlineno__PATTERNr   __static_attributes__r   r   r   r   r   	   s    G	Nr   r   N)__doc__lib2to3r   lib2to3.fixer_utilr   BaseFixr   r   r   r   <module>r"      s&   
  #N
"" Nr   