# HG changeset patch # User Mads Kiilerich # Date 2021-01-14 21:46:10 # Node ID 618e09120d475e331449a0d085842de0d570625c # Parent 574cd37f05c413f532a9b3baf8fb84d388e6cc0b bin: add missing imports Spotted by pytype --strict-import: File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'utils' on module 'kallithea.lib' [module-attr] File "kallithea/bin/kallithea_cli_db.py", line 73, in db_create: No attribute 'scm' on module 'kallithea.model' [module-attr] It happened to work anyway due to the import chain ... but it is better to be explicit. diff --git a/kallithea/bin/kallithea_cli_db.py b/kallithea/bin/kallithea_cli_db.py --- a/kallithea/bin/kallithea_cli_db.py +++ b/kallithea/bin/kallithea_cli_db.py @@ -15,6 +15,8 @@ import click import kallithea import kallithea.bin.kallithea_cli_base as cli_base +import kallithea.lib.utils +import kallithea.model.scm from kallithea.lib.db_manage import DbManage from kallithea.model import meta