X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=time-slider.git;a=blobdiff_plain;f=usr%2Fshare%2Ftime-slider%2Flib%2Ftime_slider%2Fzfs.py;h=affab9beddb258b6272e414ff118e547f7c52e21;hp=b35e58dfef07f36ac2ce8e17e7dfb0c541942539;hb=7763228f6062a102bc6b5bc34eccfa99e1b1673d;hpb=90852db764a145f59c7bcfe116a8bc17d37ac1f0 diff --git a/usr/share/time-slider/lib/time_slider/zfs.py b/usr/share/time-slider/lib/time_slider/zfs.py index b35e58d..affab9b 100755 --- a/usr/share/time-slider/lib/time_slider/zfs.py +++ b/usr/share/time-slider/lib/time_slider/zfs.py @@ -132,6 +132,9 @@ class Datasets(Exception): if excludedchild == False: # We want recursive list sorted in alphabetical order # so insert instead of append to the list. + # Also, remove all children from the recursive + # list, as they are covered by the parent + recursive = [x for x in recursive if x not in children] recursive.insert(0, datasetname) for datasetname in recursive: