summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2015-08-30 20:37:34 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2015-08-30 20:37:34 +0200
commit973d9d60281002ff59b2ce6b896daec8aad2b5d5 (patch)
tree18b9fa28732bc2f726c8312b61e1791db51ef513
parentd740e60ab772af0051c0e032db210a95e6483649 (diff)
downloadraidguessfs-973d9d60281002ff59b2ce6b896daec8aad2b5d5.tar.gz
raidguessfs-973d9d60281002ff59b2ce6b896daec8aad2b5d5.tar.bz2
raidguessfs-973d9d60281002ff59b2ce6b896daec8aad2b5d5.zip
Bugfix for broken raid_subraid_count updater. Less annying debug.
-rwxr-xr-xraidguessfs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/raidguessfs.py b/raidguessfs.py
index 5e8433a..28749f6 100755
--- a/raidguessfs.py
+++ b/raidguessfs.py
@@ -179,7 +179,7 @@ class RaidGuessFS(fuse.Fuse):
def update_raid_subraid_count(self, arg):
i = self._aton(arg)
- self.raid.set_subraid_count(i)
+ self.raid.set_raid_subraid_count(i)
self._refresh_raid_fattr()
def update_raid_chunk_size(self, arg):
@@ -194,7 +194,7 @@ class RaidGuessFS(fuse.Fuse):
raise ValueError('update_raid_type() : raid type could be in %s'%myraid.MyRaid.RAID_TYPES)
def update_raid_disk_order(self, arg):
- logging.debug("Enter update_raid_disk_order(%s)"%arg)
+ logging.debug("Enter update_raid_disk_order()")
if type(arg) is str:
l = map(int,arg.split())
elif type(arg) is list:
@@ -205,7 +205,7 @@ class RaidGuessFS(fuse.Fuse):
self.raid.set_raid_disk_order(l)
self._refresh_raid_fattr()
- logging.debug("Exit. update_raid_disk_order(%s)"%arg)
+ logging.debug("Exit. update_raid_disk_order()")
def get_task_start(self):
return 'Write a task_name in this pseudo-file to start it\n'