summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Topol <btopol@us.ibm.com>2014-07-23 00:00:10 -0500
committerBrad Topol <btopol@us.ibm.com>2014-07-23 00:03:30 -0500
commit9e5ce3dcdabf1d2b5f4f1ecf5bd4d43f1295f3ce (patch)
tree96b4981cfb2113fbcb9e469551a596fc94684e15
parenteb3f0c8a4f859907a64560b0e6be58f4b88ada05 (diff)
downloadpycadf-9e5ce3dcdabf1d2b5f4f1ecf5bd4d43f1295f3ce.tar.gz
Fix typo comments
While looking at the pycadf source I notice some typos in a few of the comments. So I went ahead and fixed them Change-Id: Icfab2820f9f4282fd07e7ce4152142f5bbd476e2
-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