diff options
author | martinko | 2011-11-08 11:29:03 +0000 |
---|---|---|
committer | martinko | 2011-11-08 11:29:03 +0000 |
commit | 1b5aa93072de7d657157b37a46391baaa9e02cd8 (patch) | |
tree | 9dc7313e7feff9a4eee34a5a67ff16cca272cb9e | |
parent | 3b6dda1bb10478e52ae4686dfd29edc6b66e6d93 (diff) |
config.py: resubmit lost commit
-rw-r--r-- | python/skytools/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/skytools/config.py b/python/skytools/config.py index c276a5d1..9f19306f 100644 --- a/python/skytools/config.py +++ b/python/skytools/config.py @@ -205,3 +205,6 @@ class Config(object): def items(self): """Returns list of (name, value) for each option in main section.""" return self.cf.items(self.main_section) + + # define some aliases (short-cuts / backward compatibility cruft) + getbool = getboolean |