
    4pfi                     H    d Z ddlmZ ddlmZ  G d dej                  ZdS )zm
Fixer for os.getcwd() -> os.getcwdu().
Also warns about "from os import getcwd", suggesting the above form.
    )
fixer_base)Namec                       e Zd ZdZd ZdS )	FixGetcwdz
              power< 'os' trailer< dot='.' name='getcwd' > any* >
              |
              import_from< 'from' 'os' 'import' bad='getcwd' >
              c                     d|v r3|d         }|                     t          d|j                             d S d|v r|                     |d           d S t	          d          )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/nettyfy-visnx/env/lib/python3.11/site-packages/libpasteurize/fixes/fix_getcwd.py	transformzFixGetcwd.transform   st    g7#DLLj===>>>>>w&LMMMFLMMM    N)__name__
__module____qualname__PATTERNr    r   r   r   r   	   s/        G	N 	N 	N 	N 	Nr   r   N)__doc__lib2to3r   lib2to3.fixer_utilr   BaseFixr   r   r   r   <module>r      sv    
       # # # # # #N N N N N
" N N N N Nr   