summaryrefslogtreecommitdiffstats
path: root/tools/releasetools
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-09-28 10:07:13 -0700
committerDoug Zongker <dougz@android.com>2009-09-28 10:07:13 -0700
commit481c4e650fe6cdb9c63ad04b35d221a2856ca48d (patch)
tree01063e39320f8039ab009560b2ab5a06fe3d2726 /tools/releasetools
parentd85472a7461d0daeb7e17a6f0a7c56f37a2335bc (diff)
downloadbuild-481c4e650fe6cdb9c63ad04b35d221a2856ca48d.zip
build-481c4e650fe6cdb9c63ad04b35d221a2856ca48d.tar.gz
build-481c4e650fe6cdb9c63ad04b35d221a2856ca48d.tar.bz2
fix python syntax error
Diffstat (limited to 'tools/releasetools')
-rwxr-xr-xtools/releasetools/ota_from_target_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files
index cbae34c..299e60a 100755
--- a/tools/releasetools/ota_from_target_files
+++ b/tools/releasetools/ota_from_target_files
@@ -517,7 +517,7 @@ def ComputeDifferences(diffs):
print "%8.2f sec %8d / %8d bytes (%6.2f%%) %s" % (
dur, len(patch), tf.size, 100.0 * len(patch) / tf.size, name)
lock.release()
- except e:
+ except Exception, e:
print e
raise