aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crosperf/config.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/crosperf/config.py b/crosperf/config.py
index 58e053c8..76175660 100644
--- a/crosperf/config.py
+++ b/crosperf/config.py
@@ -1,13 +1,12 @@
-# Copyright 2011 Google Inc. All Rights Reserved.
+# Copyright 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
"""A configure file."""
config = {}
def GetConfig(key):
- try:
- return config[key]
- except KeyError:
- return None
+ return config.get(key)
def AddConfig(key, value):