diff options
author | Daniil Baturin <daniil@baturin.org> | 2021-04-18 17:44:32 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2021-04-18 17:44:32 +0700 |
commit | 9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b (patch) | |
tree | 8123690560278ded34273a7721a538e2a18bec04 /scripts | |
parent | e2722a011b7d969dbc3cd41a6998aff894482ea9 (diff) | |
download | community.vyos.net-9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b.tar.gz community.vyos.net-9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b.zip |
Filter out the upper level snapshot dir.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/list-snapshots.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/list-snapshots.py b/scripts/list-snapshots.py index 2f10a56..f52f941 100755 --- a/scripts/list-snapshots.py +++ b/scripts/list-snapshots.py @@ -50,6 +50,9 @@ snapshots = [] for name in snapshot_names: + if name == "snapshot/equuleus/": + continue + snapshot = {} snapshot['name'] = name snapshot['files'] = list(filter(lambda s: re.search(name, s), files)) |