summaryrefslogtreecommitdiff
path: root/cloudinit/user_data.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-01-24 15:29:09 -0500
committerScott Moser <smoser@ubuntu.com>2014-01-24 15:29:09 -0500
commit4919cd124e57e82ecfcdaa9bfcbc051c719708e6 (patch)
treeae602a3a99ee5c5181bba9f80c3c02a6f1afc4f4 /cloudinit/user_data.py
parent6d474342163b05a29c198964ececd57db8658365 (diff)
downloadvyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.tar.gz
vyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.zip
pylint and long line fixes.
This fixes up many long lines to be < 80 chars and some other pylint issues. pylint 1.1 (in trusty) is now complaining about the lazy logging, so I'll clean that up when I touch things.
Diffstat (limited to 'cloudinit/user_data.py')
-rw-r--r--cloudinit/user_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py
index 3032ef70..de6487d8 100644
--- a/cloudinit/user_data.py
+++ b/cloudinit/user_data.py
@@ -311,7 +311,8 @@ class UserDataProcessor(object):
def _attach_part(self, outer_msg, part):
"""
Attach a message to an outer message. outermsg must be a MIMEMultipart.
- Modifies a header in the outer message to keep track of number of attachments.
+ Modifies a header in the outer message to keep track of number of
+ attachments.
"""
part_count = self._multi_part_count(outer_msg)
self._process_before_attach(part, part_count + 1)