CC-3779: Make Airtime more resilient to Ubuntu upgrades

undo this change for now
This commit is contained in:
Martin Konecny 2012-05-07 18:12:59 -04:00
parent 925a07b9c8
commit 22c1e67d58

View file

@ -88,7 +88,8 @@ 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:
open(binary_path) #open(binary_path)
shutil.copy(binary_path, "%s/liquidsoap"%PATH_LIQUIDSOAP_BIN)
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.