We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8510063 commit 534d75cCopy full SHA for 534d75c
adabot/arduino_libraries.py
@@ -80,14 +80,14 @@ def is_arduino_library(repo):
80
else:
81
return False
82
83
-def print_list_output(title="", list=[]):
+def print_list_output(title, coll):
84
""
85
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]))]
+ output_handler(title.format(len(coll)))
+ long_col = [(max([len(str(row[i])) for row in coll]) + 3)
+ for i in range(len(coll[0]))]
89
row_format = "".join(["{:<" + str(this_col) + "}" for this_col in long_col])
90
- for lib in list:
+ for lib in coll:
91
output_handler(row_format.format(*lib))
92
93
def output_handler(message="", quiet=False):
0 commit comments