equal
deleted
inserted
replaced
5 """Simple wrapper around dispatch.dispatch() |
5 """Simple wrapper around dispatch.dispatch() |
6 |
6 |
7 Prints command and result value, but does not handle quoting. |
7 Prints command and result value, but does not handle quoting. |
8 """ |
8 """ |
9 print "running: %s" % (cmd,) |
9 print "running: %s" % (cmd,) |
10 result = dispatch.dispatch(cmd.split()) |
10 req = dispatch.request(cmd.split()) |
|
11 result = dispatch.dispatch(req) |
11 print "result: %r" % (result,) |
12 print "result: %r" % (result,) |
12 |
13 |
13 |
14 |
14 testdispatch("init test1") |
15 testdispatch("init test1") |
15 os.chdir('test1') |
16 os.chdir('test1') |