| 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(
|
| + 'The BUILDTYPE environment variable has not been set')
|
|
|
|
|
| def SetBuildType(build_type):
|
|
|