diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:24:01 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:24:01 -0500 |
commit | 9cb3130b0b87eabe458df7dc113f00431ff3648e (patch) | |
tree | fd895d731b2b0fe56d66404f1b4d5de6a5738dc4 /tools/hacking.py | |
parent | 15f3d2e53437e18f50c037694e6db174c9d5cf8f (diff) | |
download | vyos-cloud-init-9cb3130b0b87eabe458df7dc113f00431ff3648e.tar.gz vyos-cloud-init-9cb3130b0b87eabe458df7dc113f00431ff3648e.zip |
revert unrelated whitespace changes that creeped in.
Diffstat (limited to 'tools/hacking.py')
-rwxr-xr-x | tools/hacking.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hacking.py b/tools/hacking.py index 26a07c53..11163df3 100755 --- a/tools/hacking.py +++ b/tools/hacking.py @@ -66,8 +66,8 @@ def cloud_import_alphabetical(physical_line, line_number, lines): # handle import x # use .lower since capitalization shouldn't dictate order split_line = import_normalize(physical_line.strip()).lower().split() - split_previous = import_normalize(lines[line_number - 2]) - split_previous = split_previous.strip().lower().split() + split_previous = import_normalize(lines[line_number - 2] + ).strip().lower().split() # with or without "as y" length = [2, 4] if (len(split_line) in length and len(split_previous) in length and |