build/pymake/mkformat.py
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Fri, 11 Sep 2015 17:44:10 -0700
changeset 262156 49e5ae13cfff0b1acc4f9c2d6a6a7a3ae2ba2900
parent 101590 e97779ff22631981d1d593a531de55a7a8655655
permissions -rwxr-xr-x
Bumping manifests a=b2g-bump

#!/usr/bin/env python

import sys
import pymake.parser

filename = sys.argv[1]
source = None

with open(filename, 'rU') as fh:
    source = fh.read()

statements = pymake.parser.parsestring(source, filename)
print statements.to_source()