Revision 1a8c0ce1 lib/cli.py
b/lib/cli.py | ||
---|---|---|
346 | 346 |
interaction functions. |
347 | 347 |
|
348 | 348 |
""" |
349 |
if proc is None: |
|
350 |
proc = mcpu.Processor() |
|
351 | 349 |
if feedback_fn is None: |
352 | 350 |
feedback_fn = logger.ToStdout |
353 |
return proc.ExecOpCode(op, feedback_fn) |
|
351 |
if proc is None: |
|
352 |
proc = mcpu.Processor(feedback=feedback_fn) |
|
353 |
return proc.ExecOpCode(op) |
|
354 | 354 |
|
355 | 355 |
|
356 | 356 |
def FormatError(err): |
Also available in: Unified diff