commit/galaxy-central: inithello: Add missing import and instantiation of security helper.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6c462a5a566d/ Changeset: 6c462a5a566d User: inithello Date: 2013-05-07 20:24:50 Summary: Add missing import and instantiation of security helper. Affected #: 1 file diff -r cb0432cfcc8a8cd67d608b6c1acc66e3b3739107 -r 6c462a5a566db9923a344b2bc8a89a797679aaa3 lib/tool_shed/galaxy_install/migrate/common.py --- a/lib/tool_shed/galaxy_install/migrate/common.py +++ b/lib/tool_shed/galaxy_install/migrate/common.py @@ -3,6 +3,7 @@ import galaxy.datatypes.registry from galaxy import tools from galaxy.tools.data import * +from galaxy.web import security import galaxy.model.mapping import galaxy.tools.search from galaxy.objectstore import build_object_store_from_config @@ -32,6 +33,8 @@ self.config.database_connection = "sqlite:///%s?isolation_level=IMMEDIATE" % self.config.database self.config.update_integrated_tool_panel = True self.object_store = build_object_store_from_config( self.config ) + # Security helper + self.security = security.SecurityHelper( id_secret=self.config.id_secret ) # Setup the database engine and ORM self.model = galaxy.model.mapping.init( self.config.file_path, self.config.database_connection, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org