abc@szdZddlZyddlmZWn!ek rIddlmZnXdZdZedkrvedGHndS(s webencodings.mklabels ~~~~~~~~~~~~~~~~~~~~~ Regenarate the webencodings.labels module. :copyright: Copyright 2012 by Simon Sapin :license: BSD, see LICENSE for details. iN(turlopencCs||jkst|S(N(tlowertAssertionError(tstring((sE/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.pyt assert_lowerscsdg}gtjt|jjdD]\}|dD]K}|dD]:}tt|jdt|djdf^qJq<q.}td|D|j fd|D|j d d j |S( Ns""" webencodings.labels ~~~~~~~~~~~~~~~~~~~ Map encoding labels to their name. :copyright: Copyright 2012 by Simon Sapin :license: BSD, see LICENSE for details. """ # XXX Do not edit! # This file is automatically generated by mklabels.py LABELS = { tasciit encodingstlabelstutnamecss!|]\}}t|VqdS(N(tlen(t.0tlabelR ((sE/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.pys 2sc3s6|],\}}d|dt||fVqdS(s %s:%s %s, t N(R (R R R (tmax_len(sE/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.pys 4st}t( tjsontloadsRtreadtdecodetreprRtlstriptmaxtextendtappendtjoin(turltpartstcategorytencodingR R((RsE/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.pytgenerates (N   t__main__s.http://encoding.spec.whatwg.org/encodings.json( t__doc__RturllibRt ImportErrorturllib.requestRRt__name__(((sE/usr/lib/python2.7/site-packages/pip/_vendor/webencodings/mklabels.pyt s    !