clone_fs.py does not work in v 2.27.1 and v2.28

Issue #301 invalid
Duncan Robertson
created an issue

Hi, It looks like the changes to the argument parsing code have stopped the very handy contrib utility contrib/clone_fs.py from working.

When I run it fails with an assertion, as it is fed source and destination URLs, not a single storage URL:

contrib/clone_fs.py  local://tmp/a local://tmp/b
Traceback (most recent call last):
  File "contrib/clone_fs.py", line 160, in <module>
    main(sys.argv[1:])
  File "contrib/clone_fs.py", line 98, in main
    options = parse_args(args)
  File "contrib/clone_fs.py", line 57, in parse_args
    return parser.parse_args(args)
  File "/home/duncan/s3ql-2.28/src/s3ql/parse_args.py", line 215, in parse_args
    assert options.storage_url
AttributeError: 'Namespace' object has no attribute 'storage_url'

Comments (2)

  1. Log in to comment