[ckan-changes] commit/ckanext-harvest: pudo: spacing in template paths

Bitbucket commits-noreply at bitbucket.org
Mon Jun 6 08:21:12 UTC 2011


1 new changeset in ckanext-harvest:

http://bitbucket.org/okfn/ckanext-harvest/changeset/11a9882f1333/
changeset:   11a9882f1333
branches:    
user:        pudo
date:        2011-06-06 10:16:34
summary:     spacing in template paths
affected #:  1 file (6 bytes)

--- a/ckanext/harvest/plugin.py	Thu Jun 02 12:07:07 2011 +0200
+++ b/ckanext/harvest/plugin.py	Mon Jun 06 10:16:34 2011 +0200
@@ -42,10 +42,10 @@
         template_dir = os.path.join(here, 'templates')
         public_dir = os.path.join(here, 'public')
         if config.get('extra_template_paths'):
-            config['extra_template_paths'] += ','+template_dir
+            config['extra_template_paths'] += ', ' + template_dir
         else:
             config['extra_template_paths'] = template_dir
         if config.get('extra_public_paths'):
-            config['extra_public_paths'] += ','+public_dir
+            config['extra_public_paths'] += ', ' + public_dir
         else:
             config['extra_public_paths'] = public_dir

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

--

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