From: Julien Tribino Date: Wed, 18 Dec 2013 15:47:42 +0000 (+0100) Subject: test the mercurial hook for sphinx X-Git-Tag: nepi-3.1.0~144 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0e6accaa1bad71766749bb392769c2915275113b;p=nepi.git test the mercurial hook for sphinx --- diff --git a/src/nepi/execution/resource.py b/src/nepi/execution/resource.py index 699af310..f820408b 100644 --- a/src/nepi/execution/resource.py +++ b/src/nepi/execution/resource.py @@ -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