FAQ | This is a LIVE service | Changelog

Commit 701d90a0 authored by Jon Marshall's avatar Jon Marshall
Browse files

Is it a list?

parent f86ea92b
......@@ -878,7 +878,7 @@ def clear_cmd(args):
if args.dsets is None:
print('No datasets managed by zback')
if args.dataset.pop() not in args.dsets:
if args.dataset[-1] not in args.dsets:
print('Dataset not managed by zback')
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