Ensure lists of Commands can be stringfied
Change-Id: I3667bf0aed8cf22f270454400ffeb1d8ebdaf5ad
This commit is contained in:
parent
e2bce277e5
commit
3b7d243dd8
|
@ -67,6 +67,8 @@ class BaseCommand(api.Command):
|
|||
", ".join("%s=%s" % (k, v) for k, v in command_info.items()
|
||||
if k not in ['api', 'result']))
|
||||
|
||||
__repr__ = __str__
|
||||
|
||||
|
||||
class ReadOnlyCommand(BaseCommand):
|
||||
READ_ONLY = True
|
||||
|
|
Loading…
Reference in New Issue