flake8: E111 indentation is not a multiple of four.

This commit is contained in:
Bas Couwenberg
2019-05-02 10:22:11 +02:00
committed by Dan Christian Bogos
parent 456ba8e39c
commit f7452fd697

View File

@@ -41,7 +41,7 @@ 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
if from_pass == '': # disabled auth
mongo_from_url = 'mongodb://' + from_host + ':' + from_port + '/' + from_db
mongo_from_url = 'mongodb://' + from_host + ':' + from_port + '/' + from_db
client = MongoClient(mongo_from_url)
db = client[from_db]