~cloud-init-dev/cloud-init/trunk

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_ubuntu_init_switch.py

Enable flake8 and fix a large amount of reported issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    mechanism you've used to switch the init system.
41
41
"""
42
42
 
 
43
from cloudinit.distros import ubuntu
 
44
from cloudinit import log as logging
43
45
from cloudinit.settings import PER_INSTANCE
44
 
from cloudinit import log as logging
45
46
from cloudinit import util
46
 
from cloudinit.distros import ubuntu
47
47
 
48
48
import os
49
49
import time