First attempt at making config loadable through string config overrides in an env variable.

This commit is contained in:
jakedt 2014-04-03 17:31:46 -04:00
parent b95d3ec329
commit e87ffa20cf
21 changed files with 367 additions and 397 deletions

View file

@ -5,7 +5,7 @@ import logging
import boto.s3.connection
import boto.s3.key
from storage.basestorage import Storage
from storage.basestorage import BaseStorage
logger = logging.getLogger(__name__)
@ -32,7 +32,7 @@ class StreamReadKeyAsFile(object):
return resp
class S3Storage(Storage):
class S3Storage(BaseStorage):
def __init__(self, storage_path, s3_access_key, s3_secret_key, s3_bucket):
self._initialized = False