commit/galaxy-central: greg: Fix the sqlite db connection string in the community app so local tool sheds will work when using sqlite.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/005f732eb00f/ changeset: 005f732eb00f user: greg date: 2012-07-11 16:47:51 summary: Fix the sqlite db connection string in the community app so local tool sheds will work when using sqlite. affected #: 1 file diff -r 85dccacdfa80ba7818979049810a7891102fe2ef -r 005f732eb00f76e7d1319dfb8288953aff9b8939 lib/galaxy/webapps/community/app.py --- a/lib/galaxy/webapps/community/app.py +++ b/lib/galaxy/webapps/community/app.py @@ -17,13 +17,12 @@ config.configure_logging( self.config ) # Set up datatypes registry self.datatypes_registry = galaxy.datatypes.registry.Registry() - # TODO: Handle datatypes included in repositories - the following will only load datatypes_conf.xml. self.datatypes_registry.load_datatypes( self.config.root, self.config.datatypes_config ) # Determine the database url if self.config.database_connection: db_url = self.config.database_connection else: - db_url = "sqlite://%s?isolation_level=IMMEDIATE" % self.config.database + db_url = "sqlite:///%s?isolation_level=IMMEDIATE" % self.config.database # Initialize database / check for appropriate schema version from galaxy.webapps.community.model.migrate.check import create_or_verify_database create_or_verify_database( db_url, self.config.database_engine_options ) 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)
-
Bitbucket