Skip to content

Commit c7d467c

Browse files
committed
linting
Signed-off-by: Mohamad Abuelhagag <mohammed.abuelhagag@gmail.com>
1 parent 08a49b1 commit c7d467c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mkwvconf/mkwvconf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,15 @@ def getModemDevice(self):
221221

222222
return modemDevice
223223

224-
def getUserChoice(self, l, header, prompt):
224+
def getUserChoice(self, choices, header, prompt):
225225
"""takes a string list, a text prompt and a header, and returns user choice"""
226226

227227
print('')
228228
print(header)
229229
print('')
230230

231-
count = len(l)
232-
for k, v in zip(range(count), l):
231+
count = len(choices)
232+
for k, v in zip(range(count), choices):
233233
print('%s: %s' % (k, v))
234234

235235
choice = -1

0 commit comments

Comments
 (0)