mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 18:18:41 +00:00
Merge pull request #452 from setrofim/master
Device: raise RuntimeError in _check_ready
This commit is contained in:
commit
220e0962e1
@ -599,7 +599,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
||||
|
||||
def _check_ready(self):
|
||||
if not self._is_ready:
|
||||
raise AttributeError('Device not ready.')
|
||||
raise RuntimeError('Device not ready (has connect() been called?)')
|
||||
|
||||
def _get_core_cluster(self, core):
|
||||
"""Returns the first cluster that has cores of the specified type. Raises
|
||||
|
Loading…
x
Reference in New Issue
Block a user