summaryrefslogtreecommitdiff
path: root/mytasks.py
diff options
context:
space:
mode:
authorLudovic Pouzenc <lpouzenc@gmail.com>2015-07-12 00:32:39 +0200
committerLudovic Pouzenc <lpouzenc@gmail.com>2015-07-12 00:32:39 +0200
commitc0a498de02cebaa9bd462d611599f0be6809357e (patch)
tree155ee702edef1f50b830edefe356683f8155f12e /mytasks.py
parent5534a6c1353b00cfebe6f8a155b6420687858843 (diff)
downloadraidguessfs-c0a498de02cebaa9bd462d611599f0be6809357e.tar.gz
raidguessfs-c0a498de02cebaa9bd462d611599f0be6809357e.tar.bz2
raidguessfs-c0a498de02cebaa9bd462d611599f0be6809357e.zip
Bugfix : /config/tasks_find_files_pathlist could have multiple paths now
Diffstat (limited to 'mytasks.py')
-rw-r--r--mytasks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mytasks.py b/mytasks.py
index 3e4056f..235a1be 100644
--- a/mytasks.py
+++ b/mytasks.py
@@ -113,6 +113,9 @@ class MyTasks():
else:
raise ValueError('Valid task names are : %s'%','.join(MyTasks.TASK_NAMES))
+ def append_find_files_pathlist(self, path):
+ self.find_files_pathlist.append(path)
+
def set_find_files_pathlist(self, new_find_files_pathlist):
self.find_files_pathlist = new_find_files_pathlist