FAQ | This is a LIVE service | Changelog

Commit 96bc5356 authored by Jon Marshall's avatar Jon Marshall
Browse files

Lazy wanker

parent 9700eccc
......@@ -874,9 +874,9 @@ def clear_cmd(args):
if args.dsets is None:
print('No datasets managed by zback')
# Thought about checking if this is a zback managed dset but tbh there isn't
# a hell of a lot of point, either it is and clearing works or it isn't and
# it fails...
if args.dataset not in args.dsets:
print('Dataset not managed by zback')
log = logging.getLogger('zback')
clear_set = Dataset(args.dataset.pop(), log)
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