Use registries for review request fields and field sets
Review Request #7795 — Created Dec. 3, 2015 and submitted
Review request fields and fieldsets are now registered via registry
objects, however the external API has not changed.A new Registry has been created that subclasses Djblet's Registry that
will never throw anItemLookupError
-- this is used becuase all Review
Board registries follow this pattern.
Ran unit tests.
-
Tool: Pyflakes Processed Files: reviewboard/reviews/fields.py reviewboard/registries/__init__.py reviewboard/registries/registry.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/fields.py reviewboard/registries/__init__.py reviewboard/registries/registry.py
-
-
-
Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/fields.py reviewboard/registries/registry.py Tool: Pyflakes Processed Files: reviewboard/reviews/fields.py reviewboard/registries/registry.py
-
Tool: Pyflakes Processed Files: reviewboard/reviews/fields.py reviewboard/registries/registry.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/fields.py reviewboard/registries/registry.py