From a912d105f3a1d8fed0b4cf6b18e0ef7789be81bf Mon Sep 17 00:00:00 2001 From: selias Date: Fri, 30 Sep 2016 14:04:06 +0200 Subject: Fix pylint warnings in python libraries - no functional changes - fixes 80+ PEP-8 violations Change-Id: Icf414778ec40d5cb44364fa69a876f9a1870c3c7 Signed-off-by: selias --- resources/tools/topology/update_topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/tools') diff --git a/resources/tools/topology/update_topology.py b/resources/tools/topology/update_topology.py index a5711d0922..f60fdf1653 100755 --- a/resources/tools/topology/update_topology.py +++ b/resources/tools/topology/update_topology.py @@ -59,7 +59,7 @@ def ssh_no_error(ssh, cmd): :rtype: str """ ret, stdo, stde = ssh.exec_command(cmd) - if 0 != ret: + if ret != 0: print 'Command execution failed: "{}"'.format(cmd) print 'stdout: {0}'.format(stdo) print 'stderr: {0}'.format(stde) -- cgit 1.2.3-korg