# HG changeset patch # User Mads Kiilerich # Date 2019-12-19 22:39:38 # Node ID 04aea77a49fac74ad252171afa28a096928e6692 # Parent fd0998635e839c276d8a817323d2e9f3c231402d cleanup: safe_* functions live in utils2 - don't rely on re-export from utils diff --git a/kallithea/lib/middleware/permanent_repo_url.py b/kallithea/lib/middleware/permanent_repo_url.py --- a/kallithea/lib/middleware/permanent_repo_url.py +++ b/kallithea/lib/middleware/permanent_repo_url.py @@ -20,7 +20,8 @@ middleware to handle permanent repo URLs """ -from kallithea.lib.utils import fix_repo_id_name, safe_str +from kallithea.lib.utils import fix_repo_id_name +from kallithea.lib.utils2 import safe_str class PermanentRepoUrl(object):