Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/l/a/lacore-0.1.3/lacore/storage/s3/__init__.py   lacore(Download)
from lacore.log import getLogger
from lacore.decorators import cached_property
from lacore.exceptions import UploadInvalidError
from boto import connect_s3
from boto.s3.key import Key
            upload.key_name, upload.id, xml)
        if key.etag != '"{0}-{1}"'.format(md5.hexdigest(), len(etags)):
            raise UploadInvalidError("the multipart key had an invalid eTag")
        return key
 

src/l/a/lacore-0.1.3/lacore/t/test_s3.py   lacore(Download)
    def test_complete_multipart(self, mock_cu):
        conn = self._makeit(**self._token)
        u = conn.newupload('foo')
        mock_cu.return_value = Mock(etag='foo')
        from lacore.exceptions import UploadInvalidError