1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Gem5Device: simplfy if statement based on pylint recommendation

This commit is contained in:
Sascha Bischoff 2015-12-01 17:58:08 +00:00 committed by Sergei Trofimov
parent 00c9bdc2a6
commit c6e712d44c

View File

@ -444,11 +444,10 @@ class BaseGem5Device(object):
try:
if int(output):
return True
else:
return False
except ValueError:
# If we cannot process the output, assume that there is no file
return False
pass
return False
def disconnect(self):
"""