CC-3779: Make Airtime more resilient to Ubuntu upgrades

This commit is contained in:
Martin Konecny 2012-05-07 16:46:53 -04:00
parent 2a7e87f2b8
commit 95a130bd90

View file

@ -88,7 +88,7 @@ try:
binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch)) binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch))
try: try:
shutil.copy(binary_path, "%s/liquidsoap"%PATH_LIQUIDSOAP_BIN) open(binary_path)
except IOError, e: except IOError, e:
""" """
shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file. shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file.