Skip to content
Permalink
Browse files

Merge pull request #9 from balrog-nona/index_error_list_filesystems

9919 Fix index error in function list_filesystems
  • Loading branch information...
Mno-hime committed Nov 28, 2018
2 parents 358d0c7 + cf11df8 commit 7335dd57d310649986d972cf643cc113b6f713f6
Showing with 2 additions and 1 deletion.
  1. +2 −1 usr/share/time-slider/lib/time_slider/zfs.py
@@ -235,7 +235,8 @@ def list_filesystems(self, pattern = None):
(str(cmd), err, errdata)
for line in outdata.rstrip().split('\n'):
line = line.rstrip().split()
Datasets.filesystems.append([line[0], line[1]])
if len(outdata) > 1:
Datasets.filesystems.append([line[0], line[1]])
Datasets._filesystemslock.release()

if pattern == None:

0 comments on commit 7335dd5

Please sign in to comment.
You can’t perform that action at this time.