aboutsummaryrefslogtreecommitdiff
path: root/crosperf/config.py
blob: 75f882565b786b8d6e05a3ad20ad894abca0c2b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2011 Google Inc. All Rights Reserved.

"""A configure file."""
config = {}


def GetConfig(key):
  try:
    return config[key]
  except KeyError:
    return None


def AddConfig(key, value):
  config[key] = value