Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Check-in [2c95973b5a]

Overview
Comment:Fix missing os. import for find_executable fallback.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2c95973b5a50f1bb1a1d1f2a0d83a1dfa6d98825
User & Date: mario on 2018-07-05 03:46:51
Other Links: manifest | tags
Context
2018-08-20
16:02
Update Firefox UA check-in: f520485f8c user: mario tags: trunk
2018-07-05
03:46
Fix missing os. import for find_executable fallback. check-in: 2c95973b5a user: mario tags: trunk
2018-01-15
20:06
rm debugging output check-in: a18bd89956 user: mario tags: trunk
Changes

Modified compat2and3.py from [76217753ec] to [d9ad9f648c].

64
65
66
67
68
69
70

71
72
73
74
75

# Both

# find_executable() is only needed by channels/configwin
try:
    from distutils.spawn import find_executable
except:

    def find_executable(bin):
        exists = [os.path.exists(dir+"/"+bin) for dir in os.environ.get("PATH").split(":")+["/"]]
        return exists[0] if len(exists) else None

    







>





64
65
66
67
68
69
70
71
72
73
74
75
76

# Both

# find_executable() is only needed by channels/configwin
try:
    from distutils.spawn import find_executable
except:
    import os
    def find_executable(bin):
        exists = [os.path.exists(dir+"/"+bin) for dir in os.environ.get("PATH").split(":")+["/"]]
        return exists[0] if len(exists) else None