capabilities objets inherit from CapBaseObject (refs #369)
This commit is contained in:
parent
33d1574878
commit
e980e040ba
20 changed files with 126 additions and 102 deletions
|
|
@ -241,10 +241,9 @@ class ConsoleApplication(BaseApplication):
|
|||
def set_formatter_header(self, string):
|
||||
self.formatter.set_header(string)
|
||||
|
||||
def format(self, result, backend_name=None):
|
||||
def format(self, result):
|
||||
try:
|
||||
self.formatter.format(obj=result, backend_name=backend_name,
|
||||
selected_fields=self.selected_fields, condition=self.condition)
|
||||
self.formatter.format(obj=result, selected_fields=self.selected_fields, condition=self.condition)
|
||||
except FieldNotFound, e:
|
||||
logging.error(e)
|
||||
except ResultsConditionException, e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue