OSDN Git Service

fix python syntax error
authorDoug Zongker <dougz@android.com>
Mon, 28 Sep 2009 17:07:13 +0000 (10:07 -0700)
committerDoug Zongker <dougz@android.com>
Mon, 28 Sep 2009 17:07:13 +0000 (10:07 -0700)
tools/releasetools/ota_from_target_files

index cbae34c..299e60a 100755 (executable)
@@ -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