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

Unified Diff: tools/json_schema_compiler/cpp_type_generator.py

Issue 10869083: Fix a minor nit in the JSON schema compiler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/cpp_type_generator.py
===================================================================
--- tools/json_schema_compiler/cpp_type_generator.py (revision 153519)
+++ tools/json_schema_compiler/cpp_type_generator.py (working copy)
@@ -248,8 +248,8 @@
"""
if ref_type in self._type_namespaces:
return self._type_namespaces[ref_type]
- raise KeyError(('Cannot resolve type: %s.' % ref_type) +
- 'Maybe it needs a namespace prefix if it comes from another namespace?')
+ raise KeyError('Cannot resolve type: %s. Maybe it needs a namespace prefix '
+ 'if it comes from another namespace?' % ref_type)
return None
def GetReferencedProperty(self, prop):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698