From: Julien Tribino <julien.tribino@inria.fr>
Date: Wed, 18 Dec 2013 16:49:13 +0000 (+0100)
Subject: add bitten into the hook
X-Git-Tag: nepi-3.1.0~143
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1c9a92ac9623341ba0dc1bad99319eb14d0195e3;p=nepi.git

add bitten into the hook
---

diff --git a/src/nepi/execution/resource.py b/src/nepi/execution/resource.py
index f820408b..d0d9079a 100644
--- a/src/nepi/execution/resource.py
+++ b/src/nepi/execution/resource.py
@@ -980,7 +980,7 @@ class ResourceManager(Logger):
         self.set_state(ResourceState.PROVISIONED, "_provision_time")
 
     def set_state(self, state, state_time_attr):
-        """ Set the state of the RM while saving the time when the state change """
+        """ Set the state of the RM while keeping a trace of the time """
 
         # Ensure that RM state will not change after released
         if self._state == ResourceState.RELEASED: