Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 736510. fix exception handling. r=jmaher

  • Loading branch information...
commit a7f6b892632c0a609afcce15128ae913e2127e3f 1 parent a8e973b
@armenzg armenzg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sut_tools/
4 sut_tools/
@@ -15,7 +15,7 @@ def main(deviceIP):
print "INFO: We're going to try to install SUTAgentAndroid Version %s" % target_version
data = download_apk()
- except e:
+ except Exception, e:
print "ERROR: We have failed to retrieve the SUT Agent. %s" % e.reason
return 5
dm.sendCMD(['push /mnt/sdcard/%s %s\r\n' % (apkfilename, str(len(data))), data], newline=False)
@@ -38,7 +38,7 @@ def main(deviceIP):
ver = version(dm)
- except e:
+ except Exception, e:
print "ERROR: We should have been able to get the version"
print "ERROR: %s" % e
return 5
Please sign in to comment.
Something went wrong with that request. Please try again.