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

« back to all changes in this revision

Viewing changes to cloudinit/config/cc_scripts_per_boot.py

Enable flake8 and fix a large amount of reported issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    runparts_path = os.path.join(cloud.get_cpath(), 'scripts', SCRIPT_SUBDIR)
36
36
    try:
37
37
        util.runparts(runparts_path)
38
 
    except:
 
38
    except Exception:
39
39
        log.warn("Failed to run module %s (%s in %s)",
40
40
                 name, SCRIPT_SUBDIR, runparts_path)
41
41
        raise