Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
toolchain-utils
/
226e3e08106dffd3086a7eee7007950a1d8ddfaf
/
.
/
crosperf
/
config.py
blob: 45a3d000d232c5709e59e0f39dfa0e8a06066e1f [
file
] [
log
] [
blame
]
#!/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