a
    còfh  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )ÚDatabaseSchemaEditorc                   @   s   e Zd Zdd„ ZdS )r   c                 C   sP   | j  ¡  t|tƒr | dd¡}| j j j |¡}t|tƒrLt|tƒrL| ¡ }|S )Nú%z%%)	Ú
connectionZensure_connectionÚ
isinstanceÚstrÚreplaceÚ	converterÚescapeÚbytesÚdecode)ÚselfÚvalueÚquoted© r   úZ/home/httpd/docs/test/DocsMgr/lib/python3.9/site-packages/mysql/connector/django/schema.pyÚquote_value"   s    

z DatabaseSchemaEditor.quote_valueN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r       s   r   N)Zdjango.db.backends.mysql.schemar   ZMySQLDatabaseSchemaEditorr   r   r   r   Ú<module>   s   