Fix missing paren

This commit is contained in:
Ian Fischer
2015-09-01 10:07:20 -07:00
parent 0d7e90d590
commit 2b1f00b0b4

View File

@@ -955,7 +955,7 @@ class StopTracing(object):
cmd = [ADB_PATH, 'root']
logging.info(' '.join(cmd))
output = subprocess.check_output(cmd)
match = re.match(r'.*cannot run as root.*', output
match = re.match(r'.*cannot run as root.*', output)
if match is not None:
logging.error('Unable to download trace file %s\n'
'You need to be able to run adb as root '