Skip to content

Commit

Permalink
[master][interfaces] Docstring correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Murray committed Mar 12, 2012
1 parent 0f8ddee commit f2cd051
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ckan/plugins/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class IDatasetForm(Interface):
- package_types(self)
Implementations might want to consider mixing in
ckan.controllers.package.DefaultPluggablePackageController which provides
ckan.lib.plugins.DefaultDatasetForm which provides
default behaviours for the 5 method hooks.
"""
Expand All @@ -423,8 +423,7 @@ def is_fallback(self):
There must be exactly one fallback controller defined, any attempt to
register more than one will throw an exception at startup. If there's
no fallback registered at startup the
ckan.controllers.package.DefaultPluggablePackageController is used
as the fallback.
ckan.lib.plugins.DefaultDatasetForm is used as the fallback.
"""

def package_types(self):
Expand Down Expand Up @@ -499,7 +498,7 @@ class IGroupForm(Interface):
- package_types(self)
Implementations might want to consider mixing in
ckan.controllers.package.DefaultPluggablePackageController which provides
ckan.lib.plugins.DefaultGroupForm which provides
default behaviours for the 5 method hooks.
"""
Expand All @@ -514,8 +513,7 @@ def is_fallback(self):
There must be exactly one fallback controller defined, any attempt to
register more than one will throw an exception at startup. If there's
no fallback registered at startup the
ckan.controllers.group.DefaultPluggableGroupController is used
as the fallback.
ckan.lib.plugins.DefaultGroupForm used as the fallback.
"""

def group_types(self):
Expand Down

0 comments on commit f2cd051

Please sign in to comment.