Skip to content

Commit 56d2444

Browse files
committed
More cleanup.
1 parent b712b85 commit 56d2444

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/modules/interfaces_file.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ def optionDict(line, iface, option, value, address_family):
172172

173173

174174
def getValueFromLine(s):
175-
spaceRe = re.compile(r"\s+")
176-
m = list(spaceRe.finditer(s))[-1]
177175
option = s.split()[0]
178176
optionStart = s.find(option)
179177
optionLen = len(option)

0 commit comments

Comments
 (0)