fix: pass function as lambda
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
9940868063
commit
1847e9cae8
2 changed files with 1 additions and 2 deletions
|
|
@ -174,7 +174,7 @@ def install_db(
|
|||
if setup:
|
||||
setup_database(force, verbose, no_mariadb_socket)
|
||||
if rollback_callback:
|
||||
rollback_callback.add(drop_user_and_database(db_name, db_user or db_name))
|
||||
rollback_callback.add(lambda: drop_user_and_database(db_name, db_user or db_name))
|
||||
|
||||
bootstrap_database(
|
||||
verbose=verbose,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
# License: MIT. See LICENSE
|
||||
|
||||
import functools
|
||||
import hashlib
|
||||
import io
|
||||
import os
|
||||
import shutil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue