Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
libpasteurize
/
fixes
/
__pycache__
✏️
Editing: fix_getcwd.cpython-36.pyc
3 ��jfi � @ s2 d Z ddlmZ ddlmZ G dd� dej�ZdS )zm Fixer for os.getcwd() -> os.getcwdu(). Also warns about "from os import getcwd", suggesting the above form. � )� fixer_base)�Namec @ s e Zd ZdZdd� ZdS )� FixGetcwdz� power< 'os' trailer< dot='.' name='getcwd' > any* > | import_from< 'from' 'os' 'import' bad='getcwd' > c C sJ d|kr&|d }|j td|jd�� n d|kr>| j|d� d S td��d S )N�nameZgetcwdu)�prefix�badz#import os, use os.getcwd() instead.z,For some reason, the pattern matcher failed.)�replacer r Zcannot_convert� ValueError)�self�node�resultsr � r �@/tmp/pip-build-s1i5078x/future/libpasteurize/fixes/fix_getcwd.py� transform s zFixGetcwd.transformN)�__name__� __module__�__qualname__ZPATTERNr r r r r r s r N)�__doc__Zlib2to3r Zlib2to3.fixer_utilr ZBaseFixr r r r r �<module> s
💾 Save Changes
❌ Cancel