aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShin Aoyama <smihica@gmail.com>2014-08-08 03:13:55 +0900
committerShin Aoyama <smihica@gmail.com>2014-08-08 03:13:55 +0900
commitece1701b1e70956802c67d8b56234dc185f6550c (patch)
treefb1a44eb3304f748c655131f38054f1a27a318e4 /tools
parentfdfa4d71fe42f6410e0617b46ec5de2935d14a5e (diff)
parent8b88b7d750901dc9f8adffb1bfa08cac5385917a (diff)
downloademmet-mode-ece1701b1e70956802c67d8b56234dc185f6550c.tar.lz
emmet-mode-ece1701b1e70956802c67d8b56234dc185f6550c.tar.xz
emmet-mode-ece1701b1e70956802c67d8b56234dc185f6550c.zip
Merge pull request #29 from flyingleafe/master
Fixing improper block tags expansion
Diffstat (limited to 'tools')
-rwxr-xr-xtools/json2hash6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/json2hash b/tools/json2hash
index 2ac6cdd..ae2505f 100755
--- a/tools/json2hash
+++ b/tools/json2hash
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import print_function
import json
import sys
import os
@@ -98,7 +99,4 @@ if __name__ == '__main__':
try:
main()
except ApplicationException as e:
- if python2:
- print >> sys.stderr, e.message
- elif python3:
- print(e.meesage, file=sys.stderr)
+ print(e.message, file=sys.stderr)