summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-08-08 22:03:28 +0000
committerGerrit Code Review <review@openstack.org>2014-08-08 22:03:28 +0000
commit2a869fbfc92518e57f22671ae8a77ec696f89921 (patch)
tree9bcf5b8c8f823e93744a0f2eee18616b22e3b2e8
parent21cbe50467d12cde962e226533797d3315df2d7d (diff)
parent9e5ce3dcdabf1d2b5f4f1ecf5bd4d43f1295f3ce (diff)
downloadpycadf-2a869fbfc92518e57f22671ae8a77ec696f89921.tar.gz
Merge "Fix typo comments"
-rw-r--r--pycadf/eventfactory.py2
-rw-r--r--pycadf/middleware/audit.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/pycadf/eventfactory.py b/pycadf/eventfactory.py
index fa079d0..d7cfa01 100644
--- a/pycadf/eventfactory.py
+++ b/pycadf/eventfactory.py
@@ -33,7 +33,7 @@ class EventFactory(object):
def new_event(self, eventType=cadftype.EVENTTYPE_ACTIVITY, **kwargs):
"""Create new event
- :param eventType: eventType of event. Defaults to 'activitiy'
+ :param eventType: eventType of event. Defaults to 'activity'
"""
# for now, construct a base ('activity') event as the default
diff --git a/pycadf/middleware/audit.py b/pycadf/middleware/audit.py
index 6234b0a..19cd025 100644
--- a/pycadf/middleware/audit.py
+++ b/pycadf/middleware/audit.py
@@ -16,8 +16,8 @@
"""
Attach open standard audit information to request.environ
-AuditMiddleware filter should be place after Keystone's auth_token middleware
-in the pipeline so that it can utilise the information Keystone provides.
+AuditMiddleware filter should be placed after Keystone's auth_token middleware
+in the pipeline so that it can utilize the information Keystone provides.
"""
from pycadf.audit import api as cadf_api