mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge
This commit is contained in:
@@ -105,7 +105,7 @@ class Cleanup(object):
|
||||
url = make_url(self.config.database_connection)
|
||||
|
||||
log.info('Connecting to database with URL: %s' % url)
|
||||
args = url.translate_connect_args()
|
||||
args = url.translate_connect_args( username='user' )
|
||||
args.update(url.query)
|
||||
|
||||
assert url.get_dialect().name == 'postgresql', 'This script can only be used with PostgreSQL.'
|
||||
|
||||
Reference in New Issue
Block a user