Fixed up sample code for the extension hooks.
Review Request #6705 — Created Dec. 18, 2014 and submitted
Issues were found in the example code while going through extension hooks documentation. If those pieces of example code were ever run they would cause an error.
Now, all issues have been fixed, and the example code is valid python.
Ran example code from extension hooks documentation.
Description | From | Last Updated |
---|---|---|
Revert this line. |
david |
- Commit:
-
1044f687eb96ed20ed6f3eaed08d502e3ae6653786a373be06301af6d71b1dbfdb01ab6015bc86c5
- Diff:
-
Revision 2 (+28 -20)
-
Tool: Pyflakes Ignored Files: docs/manual/extending/extensions/hooks/file-attachment-thumbnail-hook.rst docs/manual/extending/extensions/review-ui.rst docs/manual/extending/extensions/hooks/review-request-fields-hook.rst docs/manual/extending/extensions/hooks/auth-backend-hook.rst docs/manual/extending/extensions/hooks/webapi-capabilities-hook.rst docs/manual/extending/extensions/hooks/hosting-service-hook.rst docs/manual/extending/extensions/hooks/action-hooks.rst docs/manual/extending/extensions/hooks/account-pages-hook.rst Tool: PEP8 Style Checker Ignored Files: docs/manual/extending/extensions/hooks/file-attachment-thumbnail-hook.rst docs/manual/extending/extensions/review-ui.rst docs/manual/extending/extensions/hooks/review-request-fields-hook.rst docs/manual/extending/extensions/hooks/auth-backend-hook.rst docs/manual/extending/extensions/hooks/webapi-capabilities-hook.rst docs/manual/extending/extensions/hooks/hosting-service-hook.rst docs/manual/extending/extensions/hooks/action-hooks.rst docs/manual/extending/extensions/hooks/account-pages-hook.rst