Commits

Anonymous committed e5b9b46
  • Participants
  • Parent commits 9e3c48a

Comments (0)

Files changed (1)

File pysphere/vi_virtual_machine.py

                 if status == vi_task.STATE_ERROR:
                     raise VIException(vi_task.get_error_message(),
                                       FaultTypes.TASK_ERROR)
-                return VIVirtualMachine(self._server, vi_task.get_result()) 
+                return VIVirtualMachine(self._server, vi_task.get_result()._obj) 
                 
             return vi_task