diff options
-rw-r--r-- | tools/json_schema_compiler/json_parse.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/json_schema_compiler/json_parse.py b/tools/json_schema_compiler/json_parse.py index 7c5bff8..7ac1ff2 100644 --- a/tools/json_schema_compiler/json_parse.py +++ b/tools/json_schema_compiler/json_parse.py @@ -28,8 +28,11 @@ try: except ImportError: # Failed to import, so we're running Python < 2.7, and json.loads doesn't # support object_pairs_hook. simplejson however does, but it's slow. - logging.warning('Using simplejson to parse, this might be slow! Upgrade to ' - 'Python 2.7.') + # + # TODO(cduvall/kalman): Refuse to start the docs server in this case, but + # let json-schema-compiler do its thing. + #logging.warning('Using simplejson to parse, this might be slow! Upgrade to ' + # 'Python 2.7.') _SYS_PATH = sys.path[:] try: |