FAQ | This is a LIVE service | Changelog

Commit f86ea92b authored by Jon Marshall's avatar Jon Marshall
Browse files

Is it a list?

parent d5802f8c
......@@ -878,7 +878,7 @@ def clear_cmd(args):
if args.dsets is None:
print('No datasets managed by zback')
sys.exit(1)
if args.dataset not in args.dsets:
if args.dataset.pop() not in args.dsets:
print('Dataset not managed by zback')
sys.exit(1)
log = logging.getLogger('zback')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment