diff options
Diffstat (limited to 'tutorius/translator.py')
-rw-r--r-- | tutorius/translator.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tutorius/translator.py b/tutorius/translator.py index bd24f8f..fee964f 100644 --- a/tutorius/translator.py +++ b/tutorius/translator.py @@ -172,7 +172,7 @@ class ResourceTranslator(object): # was installed action_installed_cb(address) - def action_install_error(self, install_error_cb, old_action, exception): + def action_install_error(self, install_error_cb, old_action, new_action, exception): # Warn the upper layer that the installation failed install_error_cb(old_action, exception) @@ -186,7 +186,8 @@ class ResourceTranslator(object): self.translate(new_action) # Send the new action to the probe manager - self._probe_manager.install(new_action, save_args(self.action_installed, action_installed_cb), + self._probe_manager.install(new_action, + save_args(self.action_installed, action_installed_cb), save_args(self.action_install_error, error_cb, new_action), is_editing=is_editing, editing_cb=editing_cb) |