environment/lib/python2.7/site-packages/distribute-0.6.31-py2.7.egg/setuptools/command/easy_install.py
def is_sh(executable):
    """Determine if the specified executable is a .sh (contains a #! line)"""
    try:
        fp = open(executable)
        magic = fp.read(2)
        fp.close()
    except (OSError,IOError): return executable
    return magic == '#!'
def is_sh(executable):
    """Determine if the specified executable is a .sh (contains a #! line)"""
    try:
        fp = open(executable)
        magic = fp.read(2)
        fp.close()
    except (OSError,IOError): return executable
    return magic == '#!'
def is_sh ( executable ) : try : fp = open ( executable ) magic = fp . read ( 2 ) fp . close ( ) except ( OSError , IOError ) : return executable return magic == '#!'
Determine if the specified executable is a .sh (contains a #! line)
Determine if the specified executable is a . sh ( contains a #! line )