Fixed a fresh install bug that wasn't using composer installs.
Fixed a cloud file download bug where it was downloading the wrong track. Working on amazon s3 signed urls for private objects. Added cloud storage configuration to install script.
This commit is contained in:
parent
2423ea6787
commit
a10e287368
7 changed files with 58 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
|||
import os
|
||||
import logging
|
||||
import ConfigParser
|
||||
import sys
|
||||
|
||||
from libcloud.storage.types import Provider, ObjectDoesNotExistError
|
||||
from libcloud.storage.providers import get_driver
|
||||
|
@ -37,9 +38,9 @@ class CloudStorageDownloader:
|
|||
config.readfp(open(config_path))
|
||||
except IOError as e:
|
||||
print "Failed to open config file at " + config_path + ": " + e.strerror
|
||||
exit(-1)
|
||||
sys.exit()
|
||||
except Exception:
|
||||
print e.strerror
|
||||
exit(-1)
|
||||
sys.exit()
|
||||
|
||||
return config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue