(cmd, args)
| 1599 | ) |
| 1600 | |
| 1601 | def run(cmd, args): |
| 1602 | M._mesg('%s %s' % (cmd, args)) |
| 1603 | typ, dat = getattr(M, cmd)(*args) |
| 1604 | M._mesg('%s => %s %s' % (cmd, typ, dat)) |
| 1605 | if typ == 'NO': raise dat[0] |
| 1606 | return dat |
| 1607 | |
| 1608 | try: |
| 1609 | if stream_command: |