Code review comment for lp:~pwlars/lava-test/help

Revision history for this message
Paul Larson (pwlars) wrote :

> 36 + print getdoc(cmd)
>
> should you use the help() function you put on cmd?
Ah yes, fixed that

> 39 + except IndexError:
>
> I would not use try/except, and just check len(argv), as the intent
> is clearer, and it won't mask other issues.
also fixed

> I would also be happy to see some tests of at least the
> infrastructure, if not the commands themselves.
I'll add some new tests shortly

« Back to merge proposal