Add noop str config parser for documentation.

This allows str config params to be specified in plugins so their param
delcarations can be comprehensive.
This commit is contained in:
Max Goodman
2013-03-20 00:43:44 -07:00
parent 1ac081150f
commit 0fba8b7419

View File

@@ -27,6 +27,10 @@ import re
class ConfigValue(object):
_bool_map = dict(true=True, false=False)
@staticmethod
def str(v, key=None, data=None):
return str(v)
@staticmethod
def int(v, key=None, data=None):
return int(v)