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