50
50
"""Simple revision serializer based around bencode.
55
53
# Maps {key:(Revision attribute, bencode_type, validator)}
56
54
# This tells us what kind we expect bdecode to create, what variable on
57
55
# Revision we should be using, and a function to call to validate/transform