From 456ba8e39cec919dee650790f5af8aa363281540 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Thu, 2 May 2019 10:21:16 +0200 Subject: [PATCH] flake8: E225 missing whitespace around operator. --- data/scripts/migrator/dbsmerge_mongo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/scripts/migrator/dbsmerge_mongo.py b/data/scripts/migrator/dbsmerge_mongo.py index ba371e3ae..758b3a4e7 100755 --- a/data/scripts/migrator/dbsmerge_mongo.py +++ b/data/scripts/migrator/dbsmerge_mongo.py @@ -39,7 +39,7 @@ from collections import OrderedDict # same server if from_host == to_host and from_port == to_port: print('Migrating on same server...') - mongo_from_url = 'mongodb://' + from_user + ':' + quote_plus(from_pass) + '@'+ from_host + ':' + from_port + '/' + from_auth_db + mongo_from_url = 'mongodb://' + from_user + ':' + quote_plus(from_pass) + '@' + from_host + ':' + from_port + '/' + from_auth_db if from_pass == '': # disabled auth mongo_from_url = 'mongodb://' + from_host + ':' + from_port + '/' + from_db client = MongoClient(mongo_from_url)