diff options
author | Mitch Garnaat <mitch@garnaat.com> | 2012-09-16 13:02:18 -0700 |
---|---|---|
committer | Mitch Garnaat <mitch@garnaat.com> | 2012-09-16 13:02:18 -0700 |
commit | 667f05a3bee66695fa88f4a44890a6f59836d0b9 (patch) | |
tree | 636fd128f3071376ea6487632a961809a3d53d5a | |
parent | 9c884d947fb01738c652e8e27a60a874f9a3988c (diff) | |
download | boto-667f05a3bee66695fa88f4a44890a6f59836d0b9.tar.gz |
A few PEP8 cleanups.
-rw-r--r-- | boto/glacier/vault.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/boto/glacier/vault.py b/boto/glacier/vault.py index c14b24e3..4db86dac 100644 --- a/boto/glacier/vault.py +++ b/boto/glacier/vault.py @@ -29,6 +29,7 @@ import os.path _MEGABYTE = 1024 * 1024 + class Vault(object): DefaultPartSize = 4 * _MEGABYTE @@ -89,8 +90,8 @@ class Vault(object): """ with open(filename, 'rb') as fileobj: linear_hash, tree_hash = compute_hashes_from_fileobj(fileobj) - response = self.layer1.upload_archive(self.name, open(filename), linear_hash, - tree_hash) + response = self.layer1.upload_archive(self.name, open(filename), + linear_hash, tree_hash) return response['ArchiveId'] def create_archive_writer(self, part_size=DefaultPartSize, @@ -171,7 +172,7 @@ class Vault(object): response = self.layer1.initiate_job(self.name, job_data) return self.get_job(response['JobId']) - + def retrieve_inventory(self, sns_topic=None, description=None): """ |