X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;ds=sidebyside;f=python%2Fcumulus%2Fstore%2Fs3.py;h=1e7257af00d80016468bbe46ad2578fa39527e5a;hb=c519cb09affc7e3235a7d75c349ef4cdddc778e0;hp=9fa006e3ae04a2b5873fa5c51b73a94071b3190f;hpb=51fabdfbff5dcccfee4df5dd691257c8c19d2962;p=cumulus.git diff --git a/python/cumulus/store/s3.py b/python/cumulus/store/s3.py index 9fa006e..1e7257a 100644 --- a/python/cumulus/store/s3.py +++ b/python/cumulus/store/s3.py @@ -39,4 +39,6 @@ class S3Store(cumulus.store.Store): def stat(self, type, name): k = self.bucket.get_key("%s/%s/%s" % (self.prefix, type, name)) + if k is None: + raise cumulus.store.NotFoundError return {'size': int(k.size)}