diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/json2hash | 6 |
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) |