summaryrefslogtreecommitdiff
path: root/pecan/hooks.py
diff options
context:
space:
mode:
authorChang Bo Guo <guochbo@cn.ibm.com>2013-12-10 05:22:48 -0800
committerChang Bo Guo <guochbo@cn.ibm.com>2013-12-10 21:56:20 -0800
commit5c9c54bc09f7f882491a651ed8c7e4dc265bf804 (patch)
treef86133001bab602ed7aa15b210748ad961413b61 /pecan/hooks.py
parent4d372ecc8704af9353ca506aac96529fedd4f696 (diff)
downloadpecan-5c9c54bc09f7f882491a651ed8c7e4dc265bf804.tar.gz
Fix typos in documents and comments
Fix typos detected by toolkit misspellings. * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: I3d7c06bcc3b5d0cdf82b8da98a7fba15e935cab6
Diffstat (limited to 'pecan/hooks.py')
-rw-r--r--pecan/hooks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pecan/hooks.py b/pecan/hooks.py
index 99ef27a..86ba60c 100644
--- a/pecan/hooks.py
+++ b/pecan/hooks.py
@@ -242,14 +242,14 @@ class RequestViewerHook(PecanHook):
**blacklist**
This key holds items that will be blacklisted based on ``url``. If
- there is a need to ommit urls that start with `/javascript`, then this
+ there is a need to omit urls that start with `/javascript`, then this
key would look like::
'blacklist': ['/javascript']
As many blacklisting items as needed can be contained in the list. The hook
will verify that the url is not starting with items in this list to display
- results, otherwise it will get ommited.
+ results, otherwise it will get omitted.
.. note::
This key should always use a ``list`` of items to use.