From e05cb60bcc306396f97cf43ad0c26b5e21529873 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Date: Mon, 10 Mar 2008 19:16:54 +0100 Subject: Correct the call to the rescue function. --- plugins/plugin_undelete_partitions/undeletePartition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin_undelete_partitions/undeletePartition.py b/plugins/plugin_undelete_partitions/undeletePartition.py index 5a3b19e..ca5f1b7 100644 --- a/plugins/plugin_undelete_partitions/undeletePartition.py +++ b/plugins/plugin_undelete_partitions/undeletePartition.py @@ -117,7 +117,7 @@ class UndeletePartition(Plugin): if len(members[0]) > 0:#there are partitions to rescue :) self._reporting.info("Trying to rescue %s from disk %s"%(members[0], disk), origin = self, level = PLUGIN) - rescued = _undelpart.rescue(members[0]) + rescued = _undelpart.rescue(disk,members[0]) self._reporting.info("Partitions rescued: %s"%rescued, origin = self, level = PLUGIN) elif len(members[0]) == 0: -- cgit