IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Przeglądaj źródła

Fix for the missing tag case

tags/0.92
rodzic
commit
16687d157e
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      zfs.py

+ 1
- 0
zfs.py Wyświetl plik

@@ -78,6 +78,7 @@ def zfs_tag(name, tags, replace=False):
tags = list(tags)
tags.extend(lst[0][0].split(' '))
tags = list(set(tags))
tags = list(filter(lambda a: a != '-', tags))
if len(tags) > 0:
zfs_run(['zfs', 'set', 'focker:tags=' + ' '.join(tags), name])
else:


Ładowanie…
Anuluj
Zapisz