summaryrefslogtreecommitdiffstats
path: root/custodia/httpd
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-03-25 15:57:59 -0400
committerSimo Sorce <simo@redhat.com>2015-03-25 15:57:59 -0400
commit2cae3084f806990af51b68370a0c8793a1e033b1 (patch)
tree4ab5668f640e0e61ef5318c03e57112f6370ac48 /custodia/httpd
parentd40890b01fb600f09127cff0285472dfbba30442 (diff)
downloadcustodia-2cae3084f806990af51b68370a0c8793a1e033b1.tar.gz
custodia-2cae3084f806990af51b68370a0c8793a1e033b1.tar.xz
custodia-2cae3084f806990af51b68370a0c8793a1e033b1.zip
Make stores directly availble to consumers
Diffstat (limited to 'custodia/httpd')
-rw-r--r--custodia/httpd/consumer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/custodia/httpd/consumer.py b/custodia/httpd/consumer.py
index 1947b29..700c4f8 100644
--- a/custodia/httpd/consumer.py
+++ b/custodia/httpd/consumer.py
@@ -10,6 +10,9 @@ class HTTPConsumer(object):
def __init__(self, config=None):
self.config = config
+ self.store_name = None
+ if config and 'store' in config:
+ self.store_name = config['store']
def handle(self, request):
command = request.get('command', 'GET')