Commit 8f9d862f authored by Manu Cornet's avatar Manu Cornet Committed by Commit Bot

JSON Schema compiler: a tiny Python syntax fix

This works with more flavors / installs of Python without affecting
existing ones.

Change-Id: Ia3766d7e1c1359a25fd3b1ce91a740e658339480
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443621
Auto-Submit: Manu Cornet <manucornet@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813168}
parent a057e51c
......@@ -208,7 +208,7 @@ class Type(object):
self.name = name
# The typename "ManifestKeys" is reserved.
if name is 'ManifestKeys':
if name == 'ManifestKeys':
assert parent == namespace and input_origin.from_manifest_keys, \
'ManifestKeys type is reserved'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment