Skip to content

Commit

Permalink
[xs] Typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed May 4, 2012
1 parent c8239b4 commit 336e23d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ckan/plugins/toolkit.py
Expand Up @@ -16,15 +16,15 @@ class CkanVersionException(Exception):


class _Toolkit(object): class _Toolkit(object):
'''This class is intended to make functions/objects consistently '''This class is intended to make functions/objects consistently
available to plugins, whilst giving developers the ability move available to plugins, whilst giving core CKAN developers the ability move
code around or change underlying frameworks etc. This object allows code around or change underlying frameworks etc. This object allows
us to avoid circular imports while making functions/objects us to avoid circular imports while making functions/objects
available to plugins. available to plugins.
It should not be used internally within ckan only by extensions. It should not be used internally within ckan - only by extensions.
Functions/objects should only be removed after reasonable Functions/objects should only be removed after reasonable
depreciation notice has been given.''' deprecation notice has been given.'''


# contents should describe the available functions/objects. We check # contents should describe the available functions/objects. We check
# that this list matches the actual availables in the initialisation # that this list matches the actual availables in the initialisation
Expand Down Expand Up @@ -175,7 +175,7 @@ def _requires_ckan_version(cls, min_version, max_version=None):
if not max_version: if not max_version:
error = 'Requires ckan version %s or higher' % min_version error = 'Requires ckan version %s or higher' % min_version
else: else:
error = 'Requires ckan version between %s and %s' % \ error = 'Requires ckan version between %s and %s' % \
(min_version, max_version) (min_version, max_version)
raise cls.CkanVersionException(error) raise cls.CkanVersionException(error)


Expand Down

0 comments on commit 336e23d

Please sign in to comment.