summaryrefslogtreecommitdiff
path: root/cloudinit/distros/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-07 16:47:54 -0500
committerScott Moser <smoser@ubuntu.com>2013-03-07 16:47:54 -0500
commitaae7fe638f61aaf02c6579d5b691a8641455c875 (patch)
treeee449987b9076806975802e3843f0305736c3f1b /cloudinit/distros/__init__.py
parent9a771ec66f4e79bcd30f7cad7ef4b67e9cc7512d (diff)
downloadvyos-cloud-init-aae7fe638f61aaf02c6579d5b691a8641455c875.tar.gz
vyos-cloud-init-aae7fe638f61aaf02c6579d5b691a8641455c875.zip
fix pep8 and pylint
Diffstat (limited to 'cloudinit/distros/__init__.py')
-rw-r--r--cloudinit/distros/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 7b6276c5..50d52594 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -741,7 +741,7 @@ def normalize_users_groups(cfg, distro):
}
if not isinstance(old_user, (dict)):
LOG.warn(("Format for 'user' key must be a string or "
- "dictionary and not %s"), util.obj_name(old_user))
+ "dictionary and not %s"), type_utils.obj_name(old_user))
old_user = {}
# If no old user format, then assume the distro
@@ -767,7 +767,7 @@ def normalize_users_groups(cfg, distro):
if not isinstance(base_users, (list, dict, str, basestring)):
LOG.warn(("Format for 'users' key must be a comma separated string"
" or a dictionary or a list and not %s"),
- util.obj_name(base_users))
+ type_utils.obj_name(base_users))
base_users = []
if old_user: