[ckan-changes] commit/ckanext-dgu: John Glover: Bug fix: make _setup_template_variables compatible with change in ckan default

Bitbucket commits-noreply at bitbucket.org
Thu Jul 28 14:40:17 UTC 2011


1 new changeset in ckanext-dgu:

http://bitbucket.org/okfn/ckanext-dgu/changeset/7e7f2cd6b962/
changeset:   7e7f2cd6b962
user:        John Glover
date:        2011-07-28 16:39:44
summary:     Bug fix: make _setup_template_variables compatible with change in ckan default
affected #:  1 file (16 bytes)

--- a/ckanext/dgu/controllers/package_gov3.py	Wed Jul 27 12:10:08 2011 +0100
+++ b/ckanext/dgu/controllers/package_gov3.py	Thu Jul 28 15:39:44 2011 +0100
@@ -57,7 +57,7 @@
 
     package_form = 'package_gov3.html'
 
-    def _setup_template_variables(self, context):
+    def _setup_template_variables(self, context, data_dict=None):
         c.licences = [('', '')] + model.Package.get_license_options()
         c.geographic_granularity = geographic_granularity
         c.update_frequency = update_frequency

Repository URL: https://bitbucket.org/okfn/ckanext-dgu/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list