aboutsummaryrefslogtreecommitdiff
path: root/crosperf/config.py
blob: 45a3d000d232c5709e59e0f39dfa0e8a06066e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python
#
# 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