tsileo/bakthat — pull request #7 by andreyev (2013-02-07 22:21:04+00:00)
Title: concurrent_create_archive_from_file() takes exactly 3 arguments (2 given)

Before anything, bakthat is awesome! Thank you so much!

I tried to use it with glacier, but received this error:
------------------------------
$ python bakthat.py backup -d glacier -f /tmp/my-file -s my-file
2013-02-07 20:12:35,316 INFO: Backing up /tmp/my-file
Password (blank to disable encryption):
2013-02-07 20:12:36,501 INFO: Compressing...
2013-02-07 20:12:36,510 INFO: Uploading...
Traceback (most recent call last):
File "bakthat.py", line 533, in
main()
File "bakthat.py", line 530, in main
app.run()
File "/usr/local/lib/python2.7/dist-packages/aaargh.py", line 157, in run
return func(**kwargs)
File "bakthat.py", line 372, in backup
storage_backend.upload(stored_filename, outname)
File "bakthat.py", line 196, in upload
archive_id = self.vault.concurrent_create_archive_from_file(filename) # , keyname => second argument not on pypi yet
TypeError: concurrent_create_archive_from_file() takes exactly 3 arguments (2 given)
------------------------------

Then I tried to fake a 3rd argument (I am really bad in programming) do concurrent_create_archive_from_file() and seens that it worked...

Hope this help!