avocado/utils/cpu.py: more compact implementation of get_cpu_arch()
This shouldn't change the behavior, but is more compact, and at least
for me, is more readable.
And, it happens to make (pure) pylint happier because there aren't
that many 'return' statements.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录