log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
repo
annotate bin/json @ 3336:
89db42a02435
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
<Bike> rm 1
author
HackBot
date
Wed, 31 Jul 2013 01:56:36 +0000
parents
e037173e0012
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
0
e037173e0012
Initial import.
HackBot
parents:
diff
changeset
1
#!/usr/bin/env python
e037173e0012
Initial import.
HackBot
parents:
diff
changeset
2
import sys
e037173e0012
Initial import.
HackBot
parents:
diff
changeset
3
import json
e037173e0012
Initial import.
HackBot
parents:
diff
changeset
4
data = json.loads(sys.stdin.read().decode('utf-8'))
e037173e0012
Initial import.
HackBot
parents:
diff
changeset
5
print eval(sys.argv[1]).encode('utf-8')