Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: tools/json_schema_compiler/h_generator.py

Issue 849103005: Cleanup most pylint errors in json_schema_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/h_generator.py
diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py
index a6d67db2cc78657a933ee1c9140ef219304b5f35..33d7a6e55c1fa87d1bd4e5f87684d9c9e143803d 100644
--- a/tools/json_schema_compiler/h_generator.py
+++ b/tools/json_schema_compiler/h_generator.py
@@ -74,9 +74,9 @@ class _Generator(object):
.Append('//')
.Append()
)
- for property in self._namespace.properties.values():
+ for prop in self._namespace.properties.values():
property_code = self._type_helper.GeneratePropertyValues(
- property,
+ prop,
'extern const %(type)s %(name)s;')
if property_code:
c.Cblock(property_code)

Powered by Google App Engine
This is Rietveld 408576698