Skip to content

Commit 534d75c

Browse files
committed
avoiding std lib keywords
1 parent 8510063 commit 534d75c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adabot/arduino_libraries.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ def is_arduino_library(repo):
8080
else:
8181
return False
8282

83-
def print_list_output(title="", list=[]):
83+
def print_list_output(title, coll):
8484
""
8585
output_handler()
86-
output_handler(title.format(len(list)))
87-
long_col = [(max([len(str(row[i])) for row in list]) + 3)
88-
for i in range(len(list[0]))]
86+
output_handler(title.format(len(coll)))
87+
long_col = [(max([len(str(row[i])) for row in coll]) + 3)
88+
for i in range(len(coll[0]))]
8989
row_format = "".join(["{:<" + str(this_col) + "}" for this_col in long_col])
90-
for lib in list:
90+
for lib in coll:
9191
output_handler(row_format.format(*lib))
9292

9393
def output_handler(message="", quiet=False):

0 commit comments

Comments
 (0)