summaryrefslogtreecommitdiff
path: root/cloudinit/distros
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/distros
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/distros')
-rw-r--r--cloudinit/distros/parsers/hostname.py2
-rw-r--r--cloudinit/distros/parsers/hosts.py2
-rw-r--r--cloudinit/distros/parsers/resolv_conf.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/distros/parsers/hostname.py b/cloudinit/distros/parsers/hostname.py
index dd434ac6..e74c083c 100644
--- a/cloudinit/distros/parsers/hostname.py
+++ b/cloudinit/distros/parsers/hostname.py
@@ -4,7 +4,7 @@
#
# This file is part of cloud-init. See LICENSE file for license information.
-from six import StringIO
+from io import StringIO
from cloudinit.distros.parsers import chop_comment
diff --git a/cloudinit/distros/parsers/hosts.py b/cloudinit/distros/parsers/hosts.py
index 64444581..54e4e934 100644
--- a/cloudinit/distros/parsers/hosts.py
+++ b/cloudinit/distros/parsers/hosts.py
@@ -4,7 +4,7 @@
#
# This file is part of cloud-init. See LICENSE file for license information.
-from six import StringIO
+from io import StringIO
from cloudinit.distros.parsers import chop_comment
diff --git a/cloudinit/distros/parsers/resolv_conf.py b/cloudinit/distros/parsers/resolv_conf.py
index a62055ae..299d54b5 100644
--- a/cloudinit/distros/parsers/resolv_conf.py
+++ b/cloudinit/distros/parsers/resolv_conf.py
@@ -4,7 +4,7 @@
#
# This file is part of cloud-init. See LICENSE file for license information.
-from six import StringIO
+from io import StringIO
from cloudinit.distros.parsers import chop_comment
from cloudinit import log as logging