From 356c9287187ebdc2f62567b69841676e1143710a Mon Sep 17 00:00:00 2001
From: Guba Sándor <guba.sandor@cloud.bme.hu>
Date: Tue, 22 Jul 2014 12:27:32 +0200
Subject: [PATCH] removed unused manual_state_change method

---
 circle/vm/models/instance.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/circle/vm/models/instance.py b/circle/vm/models/instance.py
index f01f8f4..5fbab84 100644
--- a/circle/vm/models/instance.py
+++ b/circle/vm/models/instance.py
@@ -445,14 +445,6 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel, OperatedMixin,
         self.time_of_suspend, self.time_of_delete = self.get_renew_times()
         super(Instance, self).clean(*args, **kwargs)
 
-    def manual_state_change(self, activity, new_state="NOSTATE",
-                            reason=None, user=None):
-        """ Manually change state of an Instance.
-
-        Can be used to recover VM after administrator fixed problems.
-        """
-        activity.resultant_state = new_state
-
     def vm_state_changed(self, new_state):
         # log state change
         try:
--
libgit2 0.26.0