From 973d9d60281002ff59b2ce6b896daec8aad2b5d5 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 30 Aug 2015 20:37:34 +0200 Subject: Bugfix for broken raid_subraid_count updater. Less annying debug. --- raidguessfs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'raidguessfs.py') 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' -- cgit v1.2.3