(cmd, args)
| 1916 | ) |
| 1917 | |
| 1918 | def run(cmd, args): |
| 1919 | M._mesg('%s %s' % (cmd, args)) |
| 1920 | typ, dat = getattr(M, cmd)(*args) |
| 1921 | M._mesg('%s => %s %s' % (cmd, typ, dat)) |
| 1922 | if typ == 'NO': raise dat[0] |
| 1923 | return dat |
| 1924 | |
| 1925 | try: |
| 1926 | if stream_command: |