mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-03 07:27:48 +00:00
perf: 修改支持 Django4
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
from common.utils import get_logger
|
||||
|
||||
|
||||
logger = get_logger(__file__)
|
||||
__all__ = [
|
||||
'check_asset_can_run_ansible', 'clean_ansible_task_hosts',
|
||||
|
||||
Reference in New Issue
Block a user