Update docstrings following removal of _syncComputerPartition().

parent ebeb22c3
......@@ -446,13 +446,13 @@ class ComputerPartition(SlapDocument):
return self._partition_id
def getInstanceGuid(self):
"""Sync if not synced, then returns instance_guid"""
"""Return instance_guid. Raise ResourceNotReady if it doesn't exist."""
if not getattr(self, '_instance_guid', None):
raise ResourceNotReady()
return self._instance_guid
def getState(self):
"""Sync if not synced, then returns _requested_state."""
"""return _requested_state. Raise ResourceNotReady if it doesn't exist."""
if not getattr(self, '_requested_state', None):
raise ResourceNotReady()
return self._requested_state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment