Viewing File: /opt/alt/python35/lib/python3.5/site-packages/click/__pycache__/_unicodefun.cpython-35.pyc



½šW©ã@syddlZddlZddlZddlmZejejddƒdZdd„Z	dd„Z
d	d
„ZdS)éNé)ÚPY2Ú.cCs‡ddl}tjdƒ}d}x_|dk	r‚|jjddƒjdƒrd|j}|d7}q$|jj|j	j
@r~|SPq$WdS)NrrÚ__name__Úzclick.)Ú
__future__ÚsysÚ	_getframeÚ	f_globalsÚgetÚ
startswithÚf_backÚf_codeÚco_flagsZunicode_literalsZ
compiler_flag)rZfrmÚidx©rú/_unicodefun.pyÚ_find_unicode_literals_frames	
rcCsats
dStstjrdStƒ}|dkr7dSddlm}|tdƒd|ƒdS)Nr)ÚwarnaClick detected the use of the unicode_literals __future__ import.  This is heavily discouraged because it can introduce subtle bugs in your code.  You should instead use explicit u"" literals for your unicode strings.  For more information see http://click.pocoo.org/python3/Ú
stacklevel)Ú	__debug__rÚclickZ disable_unicode_literals_warningrÚwarningsrÚWarning)Z	bad_framerrrrÚ_check_for_unicode_literalss	rc	Cstr
dSy(ddl}tj|jƒƒj}Wntk
rLd}YnX|dkr]dSd}tjdkrddl}|j	ddgd|j
d	|j
ƒjƒd}tƒ}d
}t
|tƒrß|jddƒ}xZ|jƒD]L}|jƒ}|jƒjdƒrì|j|ƒ|jƒdkrìd}qìW|d7}|sY|d7}n0|rl|d7}n|ddjt|ƒƒ7}d}xZtjjdƒtjjdƒfD]4}|rÛ|jƒjdƒrÛ|}|dk	r´Pq´W|dk	r|d|7}td|ƒ‚dS)z=Ensures that the environment is good for unicode on Python 3.NrÚasciirÚposixÚlocalez-aÚstdoutÚstderrFÚreplaceú.utf-8ú.utf8úc.utf8úc.utf-8Tz

zšAdditional information: on this system no suitable UTF-8
locales were discovered.  This most likely requires resolving
by reconfiguring the locale system.zÊThis system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8zƒThis system lists a couple of UTF-8 supporting locales that
you can pick from.  The following suitable locales where
discovered: %sz, ÚLC_ALLZLANGz³

Click discovered that you exported a UTF-8 locale
but the locale system could not pick up from it because
it does not exist.  The exported locale is "%s" but it
is not supportedzÑClick will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Either run this under Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.)r!r")r#r$)r!r")rrÚcodecsÚlookupÚgetpreferredencodingÚnameÚ	ExceptionÚosÚ
subprocessÚPopenÚPIPEÚcommunicateÚsetÚ
isinstanceÚbytesÚdecodeÚ
splitlinesÚstripÚlowerÚendswithÚaddÚjoinÚsortedÚenvironrÚRuntimeError)	rZfs_encÚextrar,ÚrvZgood_localesZ
has_c_utf8ÚlineZ
bad_localerrrÚ_verify_python3_env0s\
	




+r@)r+rr&Z_compatrÚmodulesrÚrsplitrrrr@rrrrÚ<module>s
Back to Directory File Manager