changeset 8159:a8c8b32aee5a

cli: fix missing import of kallithea.config.middleware Don't rely on other imports making it available as side effect.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 04 Feb 2020 03:06:29 +0100
parents 6e96ade2402e
children a5e719bc7b40
files kallithea/bin/kallithea_cli_base.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/bin/kallithea_cli_base.py	Tue Feb 04 03:03:08 2020 +0100
+++ b/kallithea/bin/kallithea_cli_base.py	Tue Feb 04 03:06:29 2020 +0100
@@ -23,6 +23,7 @@
 import paste.deploy
 
 import kallithea
+import kallithea.config.middleware
 
 
 # kallithea_cli is usually invoked through the 'kallithea-cli' wrapper script