mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
fix typos, lints
This commit is contained in:
parent
4a428ebda4
commit
cbf5a46ce5
3 changed files with 5 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ from unittest import mock
|
|||
from certbot import configuration
|
||||
from certbot import errors as le_errors
|
||||
from certbot import util as certbot_util
|
||||
from certbot._internal.apache import entrypoint
|
||||
from certbot_apache._internal import entrypoint
|
||||
from certbot_compatibility_test import errors
|
||||
from certbot_compatibility_test import util
|
||||
from certbot_compatibility_test.configurators import common as configurators_common
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ import shutil
|
|||
import subprocess
|
||||
|
||||
from certbot import configuration
|
||||
from certbot._internal.nginx import configurator
|
||||
from certbot._internal.nginx import constants
|
||||
from certbot_compatibility_test import errors
|
||||
from certbot_compatibility_test import util
|
||||
from certbot_compatibility_test.configurators import common as configurators_common
|
||||
from certbot._internal.nginx import configurator
|
||||
from certbot._internal.nginx import constants
|
||||
|
||||
|
||||
class Proxy(configurators_common.Proxy):
|
||||
|
|
|
|||
|
|
@ -44,7 +44,8 @@ def _generate_augeas_lens_dir_static() -> str:
|
|||
# Python process, and will be automatically cleaned up on exit.
|
||||
file_manager = ExitStack()
|
||||
atexit.register(file_manager.close)
|
||||
augeas_lens_dir_ref = importlib.resources.files("certbot") / "_internal" / "apache" / "augeas_lens"
|
||||
augeas_lens_dir_ref = importlib.resources.files("certbot") / "_internal" \
|
||||
/ "apache" / "augeas_lens"
|
||||
return str(file_manager.enter_context(importlib.resources.as_file(augeas_lens_dir_ref)))
|
||||
|
||||
AUGEAS_LENS_DIR = _generate_augeas_lens_dir_static()
|
||||
|
|
|
|||
Loading…
Reference in a new issue