Various fixes and debugging of weak-ref changes
This commit is contained in:
parent
0030530021
commit
63c099c22f
6 changed files with 24 additions and 81 deletions
|
|
@ -200,11 +200,10 @@ class CmdPy(MuxCommand):
|
|||
errlist = errlist[4:]
|
||||
ret = "\n".join("{n<<< %s" % line for line in errlist if line)
|
||||
|
||||
if ret is not None:
|
||||
try:
|
||||
self.msg(ret, sessid=self.sessid)
|
||||
except TypeError:
|
||||
self.msg(ret)
|
||||
try:
|
||||
self.msg(ret, sessid=self.sessid)
|
||||
except TypeError:
|
||||
self.msg(ret)
|
||||
|
||||
|
||||
# helper function. Kept outside so it can be imported and run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue