Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Sep 19, 2012
Robie Basak Add description to Vault.create_archive_from_file
Allow archive creation via create_archive_from_file to specify an
archive description.
Commits on Sep 20, 2012
@garnaat garnaat Merge pull request #1001 from basak/add_description_parameter
Add description to Vault.create_archive_from_file
Showing with 3 additions and 2 deletions.
  1. +3 −2 boto/glacier/
5 boto/glacier/
@@ -115,7 +115,8 @@ def create_archive_writer(self, part_size=DefaultPartSize,
return Writer(self, response['UploadId'], part_size=part_size)
- def create_archive_from_file(self, filename=None, file_obj=None):
+ def create_archive_from_file(self, filename=None, file_obj=None,
+ description=None):
Create a new archive and upload the data from the given file
or file-like object.
@@ -132,7 +133,7 @@ def create_archive_from_file(self, filename=None, file_obj=None):
if not file_obj:
file_obj = open(filename, "rb")
- writer = self.create_archive_writer()
+ writer = self.create_archive_writer(description=description)
while True:
data =
if not data:

No commit comments for this range

Something went wrong with that request. Please try again.