summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2021-04-18 17:44:32 +0700
committerDaniil Baturin <daniil@baturin.org>2021-04-18 17:44:32 +0700
commit9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b (patch)
tree8123690560278ded34273a7721a538e2a18bec04 /scripts
parente2722a011b7d969dbc3cd41a6998aff894482ea9 (diff)
downloadcommunity.vyos.net-9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b.tar.gz
community.vyos.net-9f50a69dfbe7ec6ff72de56a89715d8e1c146a7b.zip
Filter out the upper level snapshot dir.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/list-snapshots.py3
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))