mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-15 09:27:50 +00:00
The current code used to read the attributes values for a controller uses a "grep '' CONTROLLER.*" under the assumption that the output is a list of file:value However, if there is a single controller attribute, grep does not report the file name in output thus returning an empty list at the python side. This patch fix that issue by also switching to the usage of a shutil implementation of the attributes parsing code. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>