summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layman/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/layman/config.py b/layman/config.py
index 5ad67f2..e62f535 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -108,6 +108,11 @@ class BareConfig(object):
return self._defaults
+ def get_option(self, key):
+ """returns the current option's value"""
+ return self.__getitem__(key)
+
+
def set_option(self, option, value):
"""Sets an option to the value """
self._options[option] = value