Commit 0eb1b97f by Vasyl Nakvasiuk

add more docs

parent 0afe6c11
...@@ -19,7 +19,11 @@ log = logging.getLogger(__name__) ...@@ -19,7 +19,11 @@ log = logging.getLogger(__name__)
def pretty_bool(value): 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"] bool_dict = [True, "True", "true", "T", "t", "1"]
return value in bool_dict return value in bool_dict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment