Add a hook to register avatar services
Review Request #8531 — Created Nov. 7, 2016 and submitted
The
AvatarServiceHook
is a new hook for adding avatar service classes
to the avatar services registry. It is a thin wrapper around Djblets'
RegistryHook
, which is a generic hook base class for adding items to
registries from extensions.
Ran unit tests.
-
-
reviewboard/extensions/hooks.py (Diff revision 1) This is getting long enough that we should probably list one per line.
-
reviewboard/extensions/hooks.py (Diff revision 1) It looks to me like this init function doesn't actually do anything. Can we get rid of it?

-
Tool: Pyflakes Processed Files: reviewboard/extensions/hooks.py reviewboard/extensions/tests.py Tool: PEP8 Style Checker Processed Files: reviewboard/extensions/hooks.py reviewboard/extensions/tests.py