good4...@gmail.com writes:
> Debian Wheezy. Python 3.3.0 running in pyvenv.
>
> (virtualenv-3.3.0) nick@host:~/build/s3ql-2.11/contrib$ python -V
> Python 3.3.0
> (virtualenv-3.3.0) nick@host:~/build/s3ql-2.11/contrib$ python benchmark.py 
> Traceback (most recent call last):
>   File "benchmark.py", line 225, in <module>
>     main(sys.argv[1:])
>   File "benchmark.py", line 71, in main
>     options = parse_args(args)
>   File "benchmark.py", line 55, in parse_args
>     parser.add_ssl()
> AttributeError: 'ArgumentParser' object has no attribute 'add_ssl'
>
> Can anyone help?

If you make a small change to benchmark.py it should work:

diff --git a/contrib/benchmark.py b/contrib/benchmark.py
--- a/contrib/benchmark.py
+++ b/contrib/benchmark.py
@@ -52,7 +52,7 @@
     parser.add_authfile()
     parser.add_quiet()
     parser.add_debug()
-    parser.add_ssl()
+    parser.add_backend_options()
     parser.add_version()
     parser.add_storage_url()
     parser.add_argument('file', metavar='<file>', 
type=argparse.FileType(mode='rb'),


Thansk for the report, I'll fix this in the next release.


Best,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to