Skip to content

Commit

Permalink
[#1241] Raise CkanVersionException properly
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 28, 2013
1 parent a64c48f commit 0437b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/plugins/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _requires_ckan_version(cls, min_version, max_version=None):
else:
error = 'Requires ckan version between %s and %s' % \
(min_version, max_version)
raise cls.CkanVersionException(error)
raise CkanVersionException(error)

def __getattr__(self, name):
''' return the function/object requested '''
Expand Down

0 comments on commit 0437b23

Please sign in to comment.