Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/api_models.py |
| diff --git a/chrome/common/extensions/docs/server2/api_models.py b/chrome/common/extensions/docs/server2/api_models.py |
| index dea2ebde9738942da3e2059bed574471e07c6ac1..31c8a0757d473d1d4aa70f8b8a31700d0ca07c4d 100644 |
| --- a/chrome/common/extensions/docs/server2/api_models.py |
| +++ b/chrome/common/extensions/docs/server2/api_models.py |
| @@ -42,7 +42,8 @@ class ContentScriptAPI(object): |
| return not (self == o) |
| def __repr__(self): |
| - return '<ContentScriptAPI name=%s, restrictedTo=%s>' % (name, restrictedTo) |
| + return ('<ContentScriptAPI name=%s, restrictedTo=%s>' % |
| + (self.name, self.restrictedTo)) |
|
Ken Rockot(use gerrit already)
2015/05/26 00:26:23
This is just a drive-by bugfix caught while hackin
|
| def __str__(self): |
| return repr(self) |