def rested_filter(name, location, size, unsize):
    """Filter Alien"s repository data
    """
    ver = slack_ver()
    if _meta_.slack_rel == "current":
        ver = "current"
    path_pkg = "pkg"
    if _meta_.arch == "x86_64":
        path_pkg = "pkg64"
    (fname, flocation, fsize, funsize) = ([] for i in range(4))
    for n, l, s, u in zip(name, location, size, unsize):
        if path_pkg == l.split("/")[-2] and ver == l.split("/")[-1]:
            fname.append(n)
            flocation.append(l)
            fsize.append(s)
            funsize.append(u)
    return [fname, flocation, fsize, funsize]
def rested_filter ( name , location , size , unsize ) : ver = slack_ver ( ) if _meta_ . slack_rel == "current" : ver = "current" path_pkg = "pkg" if _meta_ . arch == "x86_64" : path_pkg = "pkg64" ( fname , flocation , fsize , funsize ) = ( [ ] for i in range ( 4 ) ) for n , l , s , u in zip ( name , location , size , unsize ) : if path_pkg == l . split ( "/" ) [ - 2 ] and ver == l . split ( "/" ) [ - 1 ] : fname . append ( n ) flocation . append ( l ) fsize . append ( s ) funsize . append ( u ) return [ fname , flocation , fsize , funsize ]
Filter Alien"s repository data