Skip to content

Commit

Permalink
Merge pull request #1987 from YunoHost/fix_migr
Browse files Browse the repository at this point in the history
 Fix migration by early-importing _ldap
  • Loading branch information
alexAubin authored Oct 31, 2024
2 parents 7f6ef2c + a3e56a0 commit f6a147f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/migrations/0027_migrate_to_bookworm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
from time import sleep
from datetime import date

# Explicitly import _strptime to prevent an issue that may arise later because of python3.9 being replaced by 3.11 in the middle of the upgrade etc
# Explicitly import packages to prevent an issue that may arise later because of python3.9 being replaced by 3.11 in the middle of the upgrade etc
import _strptime # noqa: F401
import _ldap # noqa: F401

from moulinette import Moulinette, m18n
from moulinette.utils.process import call_async_output
Expand Down

0 comments on commit f6a147f

Please sign in to comment.