Remove condition in format function

Forgot to clean it in a3e6e98b4e
This commit is contained in:
Florent 2013-12-16 14:00:03 +01:00
commit 3983590d76

View file

@ -1109,9 +1109,6 @@ class ReplApplication(Cmd, ConsoleApplication):
def format(self, result, alias=None):
fields = self.selected_fields
# Do not format objects if they not respect conditions
if self.condition and not self.condition.is_valid(result):
return
if '$direct' in fields or '$full' in fields:
fields = None
try: