[ckan-changes] commit/ckanext-harvest: kindly: add database setup at configure time

Bitbucket commits-noreply at bitbucket.org
Tue May 31 17:06:44 UTC 2011


1 new changeset in ckanext-harvest:

http://bitbucket.org/okfn/ckanext-harvest/changeset/335d019d32c8/
changeset:   335d019d32c8
branches:    
user:        kindly
date:        2011-05-31 19:06:26
summary:     add database setup at configure time
affected #:  1 file (43 bytes)

--- a/ckanext/harvest/plugin.py	Tue May 31 18:02:07 2011 +0100
+++ b/ckanext/harvest/plugin.py	Tue May 31 18:06:26 2011 +0100
@@ -9,6 +9,7 @@
 from ckan.plugins import implements, SingletonPlugin
 from ckan.plugins import IRoutes, IConfigurer
 from ckan.plugins import IConfigurable, IGenshiStreamFilter
+from ckanext.harvest.model import setup
 
 log = getLogger(__name__)
 
@@ -19,7 +20,7 @@
     implements(IConfigurer, inherit=True)
     
     def configure(self, config):
-        pass
+        setup()
 
     def before_map(self, map):

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