summaryrefslogtreecommitdiff
path: root/cloudinit/cmd/devel
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-01-31 10:15:31 -0500
committerGitHub <noreply@github.com>2020-01-31 10:15:31 -0500
commit1bb1896ec900622e02c1ffb59db4d3f2df4a964d (patch)
treeb1339e806a8682e8fdf8582b83630cf9d20ce04a /cloudinit/cmd/devel
parent0ecbd888c9491176ae41bbfa2b74a05234882000 (diff)
downloadvyos-cloud-init-1bb1896ec900622e02c1ffb59db4d3f2df4a964d.tar.gz
vyos-cloud-init-1bb1896ec900622e02c1ffb59db4d3f2df4a964d.zip
cloudinit: replace "from six import X" imports (except in util.py) (#183)
Diffstat (limited to 'cloudinit/cmd/devel')
-rw-r--r--cloudinit/cmd/devel/tests/test_logs.py2
-rw-r--r--cloudinit/cmd/devel/tests/test_render.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/cmd/devel/tests/test_logs.py b/cloudinit/cmd/devel/tests/test_logs.py
index 4951797b..d2dfa8de 100644
--- a/cloudinit/cmd/devel/tests/test_logs.py
+++ b/cloudinit/cmd/devel/tests/test_logs.py
@@ -2,7 +2,7 @@
from datetime import datetime
import os
-from six import StringIO
+from io import StringIO
from cloudinit.cmd.devel import logs
from cloudinit.sources import INSTANCE_JSON_SENSITIVE_FILE
diff --git a/cloudinit/cmd/devel/tests/test_render.py b/cloudinit/cmd/devel/tests/test_render.py
index 988bba03..a7fcf2ce 100644
--- a/cloudinit/cmd/devel/tests/test_render.py
+++ b/cloudinit/cmd/devel/tests/test_render.py
@@ -1,7 +1,7 @@
# This file is part of cloud-init. See LICENSE file for license information.
-from six import StringIO
import os
+from io import StringIO
from collections import namedtuple
from cloudinit.cmd.devel import render