This commit is contained in:
dave 2019-02-09 00:33:06 -08:00
parent 29f5fa9e0f
commit a00a5d9f9c
2 changed files with 1 additions and 3 deletions

View File

@ -72,7 +72,6 @@ class ModInfo(ModuleBase):
# Find widest value per col # Find widest value per col
for row in rows: for row in rows:
for col, value in enumerate(row): for col, value in enumerate(row):
print(col, value)
vlen = len(value) vlen = len(value)
if vlen > widths[col]: if vlen > widths[col]:
widths[col] = vlen widths[col] = vlen
@ -109,4 +108,3 @@ class ModInfo(ModuleBase):
if callable(attr) and hasattr(attr, "irchelp"): if callable(attr) and hasattr(attr, "irchelp"):
for cmdinfo in attr.irchelp: for cmdinfo in attr.irchelp:
yield (modname, module, cmdinfo.cmdspec, cmdinfo.docstring, cmdinfo.aliases) yield (modname, module, cmdinfo.cmdspec, cmdinfo.docstring, cmdinfo.aliases)
raise StopIteration()

View File

@ -6,4 +6,4 @@ shift || true
export PYTHONUNBUFFERED=1 export PYTHONUNBUFFERED=1
export PYTHONPATH=. export PYTHONPATH=.
./bin/pyircbot -c $CONFPATH --debug $@ pyircbot -c $CONFPATH --debug $@