aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorflyingleafe <flyingleafe@gmail.com>2014-08-05 14:22:27 +0600
committerflyingleafe <flyingleafe@gmail.com>2014-08-05 14:22:27 +0600
commit477fdda54e5081d831c12c9c4e4f8b8814a6e7f1 (patch)
treee40b766fbdd5380d78a2785ff099b2b53a3bfea8 /tools
parent928648a15433c866931919670558d656b9f32563 (diff)
downloademmet-mode-477fdda54e5081d831c12c9c4e4f8b8814a6e7f1.tar.lz
emmet-mode-477fdda54e5081d831c12c9c4e4f8b8814a6e7f1.tar.xz
emmet-mode-477fdda54e5081d831c12c9c4e4f8b8814a6e7f1.zip
Fixing syntax error while making with python 2
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)