Skip to content

Commit 71eab44

Browse files
committed
reduce fannout
1 parent e8281f1 commit 71eab44

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cloudinit/stages.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
from cloudinit.event import EventScope, EventType, userdata_to_events
3232

3333
# Default handlers (used if not overridden)
34-
from cloudinit.handlers import boot_hook, cloud_config, jinja_template, shell_script, shell_script_by_frequency
34+
from cloudinit.handlers import (
35+
boot_hook,
36+
cloud_config,
37+
jinja_template,
38+
shell_script,
39+
shell_script_by_frequency,
40+
)
3541
from cloudinit.net import cmdline
3642
from cloudinit.reporting import events
3743
from cloudinit.settings import (
@@ -641,7 +647,9 @@ def _default_handlers(self, opts=None) -> List[handlers.Handler]:
641647
def_handlers = [
642648
cloudconfig_handler,
643649
shellscript_handler,
644-
shell_script_by_frequency.ShellScriptByFreqPartHandler(PER_ALWAYS, **opts),
650+
shell_script_by_frequency.ShellScriptByFreqPartHandler(
651+
PER_ALWAYS, **opts
652+
),
645653
ShellScriptByFreqPartHandler(PER_INSTANCE, **opts),
646654
ShellScriptByFreqPartHandler(PER_ONCE, **opts),
647655
boothook_handler,

0 commit comments

Comments
 (0)