summaryrefslogtreecommitdiff
path: root/cloudinit/user_data.py
diff options
context:
space:
mode:
authorharlowja <harlowja@virtualbox.rhel>2012-06-22 22:04:37 -0700
committerharlowja <harlowja@virtualbox.rhel>2012-06-22 22:04:37 -0700
commit85d5753d549e2d6ff69bbcc946e37d8fdac44868 (patch)
tree4851d3320777531680d3247f3e25afd88a26b9c9 /cloudinit/user_data.py
parentf8122ecf95aa347969829a217b3894e07158f994 (diff)
downloadvyos-cloud-init-85d5753d549e2d6ff69bbcc946e37d8fdac44868.tar.gz
vyos-cloud-init-85d5753d549e2d6ff69bbcc946e37d8fdac44868.zip
1. Adjust the logging of phone home module when its not enabled
2. Fix pylint warning in userdata about unused variable
Diffstat (limited to 'cloudinit/user_data.py')
-rw-r--r--cloudinit/user_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py
index 91841bb8..0842594d 100644
--- a/cloudinit/user_data.py
+++ b/cloudinit/user_data.py
@@ -204,7 +204,7 @@ class UserDataProcessor(object):
outer_msg.replace_header(ATTACHMENT_FIELD, str(fetched_count))
return fetched_count
- def _part_filename(self, unnamed_part, count):
+ def _part_filename(self, _unnamed_part, count):
return PART_FN_TPL % (count + 1)
def _attach_part(self, outer_msg, part):