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