From 72658e918bcc390ba07004eb9c3e4d14b8615770 Mon Sep 17 00:00:00 2001 From: Ruben de Vries Date: Thu, 24 Mar 2016 12:44:54 +0100 Subject: [PATCH] fixed py3 incompatibility --- serpent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serpent.py b/serpent.py index a05d35a..1c931ca 100644 --- a/serpent.py +++ b/serpent.py @@ -222,7 +222,7 @@ def main(): kwargs['source'] = 'cmdline' o = globals()[cmd](*args, **kwargs) if cmd in ['mk_full_signature', 'mk_contract_info_decl']: - print json.dumps(o) + print(json.dumps(o)) elif isinstance(o, (Token, Astnode, dict, list)): print(repr(o)) elif cmd in ['mk_full_signature', 'get_prefix']: