From 93977e56f3fb0d6cef169a809708f7e89252a6b2 Mon Sep 17 00:00:00 2001 From: Bouke Haarsma Date: Mon, 24 Mar 2014 18:33:04 +0100 Subject: [PATCH] =?UTF-8?q?Dropped=20use=20of=20UTF-8=20character=20?= =?UTF-8?q?=E2=88=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsonschema/cli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jsonschema/cli.py b/jsonschema/cli.py index 327574d..e466d55 100644 --- a/jsonschema/cli.py +++ b/jsonschema/cli.py @@ -1,5 +1,3 @@ -# encoding=utf-8 - import argparse import json import sys @@ -10,6 +8,7 @@ from . import ( ) from .validators import validator_for + def main(args): parser = argparse.ArgumentParser(description='JSON Schema validator') parser.add_argument('schema', help='filename of the JSON Schema') @@ -35,7 +34,7 @@ def main(args): validate(document, schema, validator, format_checker=format_checker) # validate raises if the document is invalid, and will show a Traceback to # the user. If the document is valid, show a congratulating message. - print("√ JSON document is valid.") + print("JSON document is valid.") if __name__ == '__main__': main(sys.argv)