diff options
Diffstat (limited to 'cloudinit/distros/netbsd.py')
-rw-r--r-- | cloudinit/distros/netbsd.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cloudinit/distros/netbsd.py b/cloudinit/distros/netbsd.py index 353eb671..96794d76 100644 --- a/cloudinit/distros/netbsd.py +++ b/cloudinit/distros/netbsd.py @@ -5,7 +5,6 @@ import crypt import os import platform -import six import cloudinit.distros.bsd from cloudinit import log as logging @@ -46,8 +45,7 @@ class Distro(cloudinit.distros.bsd.BSD): } for key, val in kwargs.items(): - if (key in adduser_opts and val and - isinstance(val, six.string_types)): + if key in adduser_opts and val and isinstance(val, str): adduser_cmd.extend([adduser_opts[key], val]) elif key in adduser_flags and val: |