Version bump for release.
[irker.git] / filter-example.py
1 #!/usr/bin/env python
2 # This is a trivial example of a metadata filter.
3 # All it does is change the name of the commit's author.
4 # It could do other things, including modifying the
5 # channels list
6
7 import sys, json
8 metadata = json.loads(sys.argv[1])
9
10 metadata['author'] = "The Great and Powerful Oz"
11
12 print json.dumps(metadata)
13 # end