diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 15:48:26 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 15:48:26 -0400 |
commit | ce0aa24956f4c45f23d49f43f740c386734cb45b (patch) | |
tree | 9eb27e4e8af8ad6b80f19ba1559323e3a6182c3e /ast2json/ast2json.py | |
parent | 6047798267b858a76f754642fa276f8cb06965f5 (diff) | |
download | html5ks-ce0aa24956f4c45f23d49f43f740c386734cb45b.tar.xz html5ks-ce0aa24956f4c45f23d49f43f740c386734cb45b.zip |
more misc
Diffstat (limited to 'ast2json/ast2json.py')
-rw-r--r-- | ast2json/ast2json.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ast2json/ast2json.py b/ast2json/ast2json.py index 7f52687..3460969 100644 --- a/ast2json/ast2json.py +++ b/ast2json/ast2json.py @@ -55,8 +55,3 @@ def get_value(attr_value): return ast2json(attr_value) else: raise Exception("unknow case for '%s' of type '%s'" % (attr_value, type(attr_value))) - - -if __name__ == '__main__': - import json - print(json.dumps(ast2json(parse(open(__file__, "r").read())), indent=4)) |