~harlowja/cloud-init/cloud-init-net-refactor

« back to all changes in this revision

Viewing changes to cloudinit/handlers/cloud_config.py

Enable flake8 and fix a large amount of reported issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
            for i in ("\n", "\r", "\t"):
159
159
                filename = filename.replace(i, " ")
160
160
            self.file_names.append(filename.strip())
161
 
        except:
 
161
        except Exception:
162
162
            util.logexc(LOG, "Failed at merging in cloud config part from %s",
163
163
                        filename)