From 193704c37b97a5687cab09416f9f38e632c76fa3 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Thu, 3 Oct 2013 17:07:23 -0600 Subject: Make {pep8,pylint,test} pass commit. --- cloudinit/config/cc_disk_setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cloudinit/config') diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py index b9e1e9eb..127b5879 100644 --- a/cloudinit/config/cc_disk_setup.py +++ b/cloudinit/config/cc_disk_setup.py @@ -186,6 +186,7 @@ def enumerate_disk(device, nodeps=False): yield d + def device_type(device): """ Return the device type of the device by calling lsblk. @@ -193,7 +194,7 @@ def device_type(device): for d in enumerate_disk(device, nodeps=True): if "type" in d: - return d["type"].lower() + return d["type"].lower() return None -- cgit v1.2.3