environment/lib/python2.7/site-packages/distribute-0.6.31-py2.7.egg/setuptools/command/sdist.py
def externals_finder(dirname, filename):
    """Find any 'svn:externals' directories"""
    found = False
    f = open(filename,'rt')
    for line in iter(f.readline, ''):    # can't use direct iter!
        parts = line.split()
        if len(parts)==2:
            kind,length = parts
            data = f.read(int(length))
            if kind=='K' and data=='svn:externals':
                found = True
            elif kind=='V' and found:
                f.close()
                break
    else:
        f.close()
        return

    for line in data.splitlines():
        parts = line.split()
        if parts:
            yield joinpath(dirname, parts[0])
def externals_finder(dirname, filename):
    """Find any 'svn:externals' directories"""
    found = False
    f = open(filename,'rt')
    for line in iter(f.readline, ''):    # can't use direct iter!
        parts = line.split()
        if len(parts)==2:
            kind,length = parts
            data = f.read(int(length))
            if kind=='K' and data=='svn:externals':
                found = True
            elif kind=='V' and found:
                f.close()
                break
    else:
        f.close()
        return

    for line in data.splitlines():
        parts = line.split()
        if parts:
            yield joinpath(dirname, parts[0])
def externals_finder ( dirname , filename ) : found = False f = open ( filename , 'rt' ) for line in iter ( f . readline , '' ) : # can't use direct iter! parts = line . split ( ) if len ( parts ) == 2 : kind , length = parts data = f . read ( int ( length ) ) if kind == 'K' and data == 'svn:externals' : found = True elif kind == 'V' and found : f . close ( ) break else : f . close ( ) return for line in data . splitlines ( ) : parts = line . split ( ) if parts : yield joinpath ( dirname , parts [ 0 ] )
Find any 'svn:externals' directories
Find any svn : externals directories