From 584b8434872322a9f617831742cc6b15977ecfbc Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 10 Nov 2016 21:01:12 -0500 Subject: pep8: fix style errors reported by pycodestyle 2.1.0 pycodestyle 2.1.0 is in Ubuntu zesty, and complained about the changes made here. Simple style changes. This makes 'make pep8' pass again when built in a zesty build system with proposed enabled. --- cloudinit/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cloudinit/util.py') diff --git a/cloudinit/util.py b/cloudinit/util.py index 9a3d3cd7..ed2d93e5 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -2030,8 +2030,8 @@ def parse_mount_info(path, mountinfo_lines, log=LOG): continue # Ignore mounts where the common path is not the same. - l = min(len(mount_point_elements), len(path_elements)) - if mount_point_elements[0:l] != path_elements[0:l]: + x = min(len(mount_point_elements), len(path_elements)) + if mount_point_elements[0:x] != path_elements[0:x]: continue # Ignore mount points higher than an already seen mount -- cgit v1.2.3