Tiny refactor of a function; NFC.

TEST=./run_tests.sh passes
BUG=None

Change-Id: I15220e3ac0f3b6b8a932e2d8dcfaf105be7a9794
Reviewed-on: https://chrome-internal-review.googlesource.com/273450
Commit-Ready: George Burgess <gbiv@google.com>
Tested-by: George Burgess <gbiv@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
diff --git a/crosperf/config.py b/crosperf/config.py
index 58e053c..7617566 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):