1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-05 21:02:36 +01:00

Merge pull request #452 from setrofim/master

Device: raise RuntimeError in _check_ready
This commit is contained in:
marcbonnici
2017-08-02 13:43:06 +01:00
committed by GitHub

View File

@@ -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