summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-11 17:20:17 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-11 17:20:17 -0700
commit993e32d9e00718bca829bb9e5c3ae7b0be6ca78b (patch)
tree7e2f807d215ec2be279a5a332eb6ab22579a0930
parent27133cc16d219e5594d7f17f25a48e3fb56db3a6 (diff)
downloadvyos-cloud-init-993e32d9e00718bca829bb9e5c3ae7b0be6ca78b.tar.gz
vyos-cloud-init-993e32d9e00718bca829bb9e5c3ae7b0be6ca78b.zip
Pylint fixups.
-rw-r--r--cloudinit/user_data/cloud_config.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cloudinit/user_data/cloud_config.py b/cloudinit/user_data/cloud_config.py
index 1c43f3a1..f0e88eeb 100644
--- a/cloudinit/user_data/cloud_config.py
+++ b/cloudinit/user_data/cloud_config.py
@@ -20,9 +20,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-import os
-
from cloudinit import log as logging
from cloudinit import user_data as ud
from cloudinit import util
@@ -56,4 +53,4 @@ class CloudConfigPartHandler(ud.PartHandler):
filename = util.clean_filename(filename)
entry = "\n".join(["#%s" % (filename), str(payload)])
- self.config_buf.append(entry)
+ self.cloud_buf.append(entry)