python-toml/toml_test3.py
Julien Enselme a555416a3e Enable tests suite
- Build python3 and python2 in the same directory
- Use %py2_build, %py3_build, %py2_install and %py2_install
- Move python2 package in its own subpackage
2015-10-29 19:22:00 +01:00

12 lines
209 B
Python

#!/usr/bin/env python3
import toml_test
import toml
import sys
import json
if __name__ == '__main__':
tdata = toml.loads(sys.stdin.read())
tagged = toml_test.tag(tdata)
print(json.dumps(tagged))