[ckan-changes] commit/ckanextiati: amercader: Fix indent and import bug

Bitbucket commits-noreply at bitbucket.org
Fri Nov 11 12:16:54 UTC 2011


1 new commit in ckanextiati:


https://bitbucket.org/okfn/ckanextiati/changeset/0f0c62adec38/
changeset:   0f0c62adec38
user:        amercader
date:        2011-11-11 13:16:44
summary:     Fix indent and import bug
affected #:  1 file

diff -r 1700cf06b29331dd5d457f082cfcf9ff988d2af3 -r 0f0c62adec382fb32b49f88c89a774e9abe3b0df ckanext/iati/controllers/group_iati.py
--- a/ckanext/iati/controllers/group_iati.py
+++ b/ckanext/iati/controllers/group_iati.py
@@ -1,4 +1,4 @@
-from ckan.lib.base import c
+from ckan.lib.base import c,request
 from ckan import model
 
 from ckan.lib.navl.validators import ignore_missing, not_empty
@@ -25,7 +25,7 @@
         c.publisher_source_types = PUBLISHER_SOURCE_TYPES
         c.countries = [(v, k) for k, v in COUNTRIES]
 
-       c.show_publisher_info = not (request.environ['pylons.routes_dict']['action'] == 'authz')
+        c.show_publisher_info = not (request.environ['pylons.routes_dict']['action'] == 'authz')
 
 
     def _form_to_db_schema(self):

Repository URL: https://bitbucket.org/okfn/ckanextiati/

--

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