add more docs

This commit is contained in:
Vasyl Nakvasiuk
2013-05-13 18:43:05 +03:00
parent 0afe6c11ab
commit 0eb1b97ffc

View File

@@ -19,7 +19,11 @@ log = logging.getLogger(__name__)
def pretty_bool(value):
"""Check value for possible `True` value."""
"""Check value for possible `True` value.
Using this function we can manage different type of Boolean value
in xml files.
"""
bool_dict = [True, "True", "true", "T", "t", "1"]
return value in bool_dict