Skip to content

Commit

Permalink
[1696][controllers] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
John Glover committed Jan 23, 2012
1 parent 214792d commit 4faa6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/controllers/package.py
Expand Up @@ -455,7 +455,7 @@ def new(self, data=None, errors=None, error_summary=None):

self._setup_template_variables(context, {'id': id})

# TODO: This check is to maintain backwards compatibility the old way of creating
# TODO: This check is to maintain backwards compatibility with the old way of creating
# custom forms. This behaviour is now deprecated.
if hasattr(self, 'package_form'):
c.form = render(self.package_form, extra_vars=vars)
Expand Down Expand Up @@ -501,7 +501,7 @@ def edit(self, id, data=None, errors=None, error_summary=None):

self._setup_template_variables(context, {'id': id}, package_type=package_type)

# TODO: This check is to maintain backwards compatibility the old way of creating
# TODO: This check is to maintain backwards compatibility with the old way of creating
# custom forms. This behaviour is now deprecated.
if hasattr(self, 'package_form'):
c.form = render(self.package_form, extra_vars=vars)
Expand Down

0 comments on commit 4faa6b2

Please sign in to comment.