Browse Source

py 3.7

master
dave 1 year ago
parent
commit
a00a5d9f9c
2 changed files with 1 additions and 3 deletions
  1. +0
    -2
      pyircbot/modules/ModInfo.py
  2. +1
    -1
      run-example.sh

+ 0
- 2
pyircbot/modules/ModInfo.py View File

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

+ 1
- 1
run-example.sh View File

@@ -6,4 +6,4 @@ shift || true
export PYTHONUNBUFFERED=1
export PYTHONPATH=.

./bin/pyircbot -c $CONFPATH --debug $@
pyircbot -c $CONFPATH --debug $@

Loading…
Cancel
Save