Commit [716f4e] Maximize Restore History

cmdline.py: Check before reference

If we aren't doing the comand 'list', then self.args.type
is not present and we will throw an exception. Check
before use.

This was found when trying to run plugin-info without a uri
set.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
Signed-off-by: Gris Ge <fge@redhat.com>

Tony Asleson Tony Asleson 2014-08-05

changed tools/lsmcli/cmdline.py
tools/lsmcli/cmdline.py Diff Switch to side-by-side view
Loading...