HEX
Server: LiteSpeed
System: Linux baran.dnsprotection.me 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: ddir12 (3618)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/libpasteurize/fixes/__pycache__/fix_getcwd.cpython-36.opt-1.pyc
3

�ci�@s2dZddlmZddlmZGdd�dej�ZdS)zm
Fixer for os.getcwd() -> os.getcwdu().
Also warns about "from os import getcwd", suggesting the above form.
�)�
fixer_base)�Namec@seZdZdZdd�ZdS)�	FixGetcwdz�
              power< 'os' trailer< dot='.' name='getcwd' > any* >
              |
              import_from< 'from' 'os' 'import' bad='getcwd' >
              cCsJd|kr&|d}|jtd|jd��n d|kr>|j|d�dStd��dS)N�nameZgetcwdu)�prefixZbadz#import os, use os.getcwd() instead.z,For some reason, the pattern matcher failed.)�replacerrZcannot_convert�
ValueError)�selfZnode�resultsr�r� /usr/lib/python3.6/fix_getcwd.py�	transformszFixGetcwd.transformN)�__name__�
__module__�__qualname__ZPATTERNr
rrrrr	srN)�__doc__Zlib2to3rZlib2to3.fixer_utilrZBaseFixrrrrr�<module>s