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