Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: build/android/pylib/constants.py

Issue 1085713002: [Android] DeviceUtils change to make Install work without md5 binary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index 8f8e782c053977cecced8e45b8161588578e1e58..e9834886c14a01f0996a567fe65a09ba011471a8 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -219,7 +219,8 @@ def GetBuildType():
try:
return os.environ['BUILDTYPE']
except KeyError:
- raise Exception('The BUILDTYPE environment variable has not been set')
+ raise EnvironmentError(
jbudorick 2015/04/13 22:51:47 Not sure about this exception type.
mikecase (-- gone --) 2015/04/14 16:18:38 Couldn't think of a better alternative. Its an err
+ 'The BUILDTYPE environment variable has not been set')
def SetBuildType(build_type):
« no previous file with comments | « no previous file | build/android/pylib/device/device_utils.py » ('j') | build/android/pylib/device/device_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698