test the mercurial hook for sphinx
authorJulien Tribino <julien.tribino@inria.fr>
Wed, 18 Dec 2013 15:47:42 +0000 (16:47 +0100)
committerJulien Tribino <julien.tribino@inria.fr>
Wed, 18 Dec 2013 15:47:42 +0000 (16:47 +0100)
src/nepi/execution/resource.py

index 699af31..f820408 100644 (file)
@@ -980,6 +980,8 @@ 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 """
+
         # Ensure that RM state will not change after released
         if self._state == ResourceState.RELEASED:
             return