OSDN Git Service

Show complete command with args when ComputePatch fails
authorSteadyQuad <SteadyQuad@gmail.com>
Tue, 4 Oct 2016 09:36:18 +0000 (11:36 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Wed, 5 Oct 2016 09:06:42 +0000 (02:06 -0700)
commit96c2103cf5669d3003d9642e9dd0325f59cbfdf8
tree76342240cf5e71331b751cd73d1ac3ea3726eaa5
parent5f806cb4f22182e588fab744157c7686624f5734
Show complete command with args when ComputePatch fails

When Difference.ComputePatch() failed for some reason, only
the first part of the failed command was show with the error,
not all arguments.

old (simplified):
WARNING: failure running ['imgdiff', '-b', '/tmp/recovery-resource.dat']:

new:
WARNING: failure running ['imgdiff', '-b', '/tmp/recovery-resource.dat',
  '/tmp/tmpSsy_kf', '/tmp/tmpOMCXSn', '/tmp/tmpA3FtZw']:

Change-Id: Id8b498df3ed7934815430e4b4c2651ef4aa781c6
tools/releasetools/common.py