%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/usr/lib/python2.7/site-packages/salt/utils/pkg/
Upload File :
Create Path :
Current File : //proc/self/root/usr/lib/python2.7/site-packages/salt/utils/pkg/deb.pyc

�
���^c@@sXdZddlmZmZmZddlmZddlmZd�Z	d�Z
dS(u0
Common functions for working with deb packages
i(tabsolute_importtprint_functiontunicode_literals(tsix(trangecC@s�t|t�r_x}tt|��D]6}t||tj�s"tj||�||<q"q"Wn0t|tj�s�tj|�g}n	|g}dj|�j�S(u�
    Given a list of comments, or a comment submitted as a string, return a
    single line of text containing all of the comments.
    u (	t
isinstancetlistRtlenRtstring_typest	text_typetjointstrip(tcommentstidx((s6/usr/lib/python2.7/site-packages/salt/utils/pkg/deb.pytcombine_commentss!	c@so|j��xStt���D]?�t��fd�dD��r��jd���<qqWdj��S(uE
    Remove the trailing slash from the URI in a repo definition
    c3@s"|]}��j|�VqdS(N(t
startswith(t.0tx(R
tsplits(s6/usr/lib/python2.7/site-packages/salt/utils/pkg/deb.pys	<genexpr>%suhttp://uhttps://uftp://u/u (uhttp://uhttps://uftp://(tsplitRRtanytrstripR
(trepo((R
Rs6/usr/lib/python2.7/site-packages/salt/utils/pkg/deb.pyt	strip_uris
N(t__doc__t
__future__RRRtsalt.extRtsalt.ext.six.movesRRR(((s6/usr/lib/python2.7/site-packages/salt/utils/pkg/deb.pyt<module>s
	

Zerion Mini Shell 1.0