Make example 'entry_points' parameter a dictionary

Change-Id: Idad5a1b2d6aaee456cdc3a52554c1d7ddd51a696
This commit is contained in:
uberj 2014-04-02 10:25:26 -07:00
parent 23158ad8b3
commit 5f31585c8b
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ Adding hook object code
1. Setup a Python package with a setup.py file.
2. Add the following to the setup.py setup call::
entry_points = [
entry_points = {
'nova.hooks': [
'resize_hook': your_package.hooks.YourHookClass,
]
]
},
3. *YourHookClass* should be an object with *pre* and/or *post* methods::