Skip to content

Commit 016d049

Browse files
authored
Remove migration output capturing for SqliteZipBackend initialisation (#6964)
Done by removing the IO-capturing context manager for more verbose output
1 parent f995713 commit 016d049

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/aiida/manage/configuration/config.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
from __future__ import annotations
1717

1818
import codecs
19-
import contextlib
20-
import io
2119
import json
2220
import os
2321
import shutil
@@ -528,8 +526,7 @@ def create_profile(
528526

529527
LOGGER.report('Initialising the storage backend.')
530528
try:
531-
with contextlib.redirect_stdout(io.StringIO()):
532-
profile.storage_cls.initialise(profile)
529+
profile.storage_cls.initialise(profile)
533530
except Exception as exception:
534531
raise StorageMigrationError(
535532
f'Storage backend initialisation failed, probably because the configuration is incorrect:\n{exception}'

0 commit comments

Comments
 (0)