| Index: tools/only_in_release_mode.py
|
| diff --git a/tools/only_in_release_mode.py b/tools/only_in_release_mode.py
|
| index 089d30c039c91245c1f18d42f832bc18610f14c1..20ade171885f8c985f5f3409e9157ffefc7f16f6 100644
|
| --- a/tools/only_in_release_mode.py
|
| +++ b/tools/only_in_release_mode.py
|
| @@ -1,6 +1,6 @@
|
| #!/usr/bin/env python
|
| #
|
| -# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| # for details. All rights reserved. Use of this source code is governed by a
|
| # BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -29,7 +29,7 @@ def Main():
|
| outputs = sys.argv[1:separator_index]
|
| arguments = sys.argv[separator_index + 1:]
|
| arguments[0] = os.path.normpath(arguments[0])
|
| - mode = os.getenv('DART_BUILD_MODE', default='release')
|
| + mode = os.getenv('DART_BUILD_MODE', 'release')
|
| if mode != 'release':
|
| print >> sys.stderr, 'Not running %s in mode=%s' % (arguments, mode)
|
| for output in outputs:
|
|
|