From ec070cdf8746651d6dea011bd3ea9a445223028c Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 17 Jan 2012 12:41:09 -0500 Subject: [PATCH 4/4] Fix pylint conventions C0301 (line too long) From: Juerg Haefliger --- cloudinit/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cloudinit/__init__.py') diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 449e4648..3bc6516a 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -350,7 +350,8 @@ class CloudInit: try: mod = __import__(modname) handler_register(mod, part_handlers, data, frequency) - log.debug("added handler for [%s] from %s" % (mod.list_types(), fname)) + log.debug("added handler for [%s] from %s" % (mod.list_types(), + fname)) except: log.warn("failed to initialize handler in %s" % fname) util.logexc(log) @@ -420,7 +421,8 @@ class CloudInit: self.cloud_config_str += "\n#%s\n%s" % (filename, payload) - def handle_cloud_boothook(self, _data, ctype, filename, payload, _frequency): + def handle_cloud_boothook(self, _data, ctype, filename, payload, + _frequency): if ctype == "__end__": return if ctype == "__begin__": -- cgit v1.2.3