Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/landscape/lib/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/landscape/lib/encoding.pyc

ó
ÍÿŠTc@sd„Zd„ZdS(cCs%t|tƒr!|jdƒ}n|S(s>
    A small helper to decode unicode to utf-8 if needed.
    sutf-8(t
isinstancetunicodetencode(tvalue((s:/usr/lib/python2.7/dist-packages/landscape/lib/encoding.pytencode_if_neededscCs1x*|jƒD]\}}t|ƒ||<q
W|S(sU
    A wrapper taking a dict and passing each of the values to encode_if_needed.
    (t	iteritemsR(tvaluestkeyR((s:/usr/lib/python2.7/dist-packages/landscape/lib/encoding.pytencode_dict_if_neededsN(RR(((s:/usr/lib/python2.7/dist-packages/landscape/lib/encoding.pyt<module>s