add @propery to format method
the method is overided and need to be a property Change-Id: I27f9455bb633595e4f17c2d5cd0e96e41053cd5c
This commit is contained in:
parent
4c4ef4ef69
commit
1913f98d96
@ -28,6 +28,7 @@ class TemplateValidate(show.ShowOne):
|
|||||||
'templates dir)')
|
'templates dir)')
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
@property
|
||||||
def formatter_default(self):
|
def formatter_default(self):
|
||||||
return 'json'
|
return 'json'
|
||||||
|
|
||||||
@ -66,6 +67,7 @@ class TemplateShow(show.ShowOne):
|
|||||||
parser.add_argument('uuid', help='Template UUID')
|
parser.add_argument('uuid', help='Template UUID')
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
@property
|
||||||
def formatter_default(self):
|
def formatter_default(self):
|
||||||
return 'json'
|
return 'json'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user