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): |