google-code-export / s3ql

Automatically exported from code.google.com/p/s3ql
0 stars 0 forks source link

Syntax error in benchmark.py under contrib for 2.4 #423

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found a syntax error in benchmark.py and wanted to contribute a fix.  
Line 157 was like this:
       backend = BetterBackend(pass, alg, Backend('local://' + backend_dir, None, None))
I changed the password to be a byte array and also changed the compression 
entry to be a list, like this:
       backend = BetterBackend(b'pass', (alg,1), Backend('local://' + backend_dir, None, None))

Original issue reported on code.google.com by davidtho...@gmail.com on 6 Oct 2013 at 5:34

GoogleCodeExporter commented 9 years ago
Great, thanks for the report!

Original comment by Nikolaus@rath.org on 7 Oct 2013 at 3:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision c467698ec95f.

Original comment by Nikolaus@rath.org on 19 Oct 2013 at 4:47