Move condition code in BaseApplication

The count parameter is now consistent with condition parameter
close #1289
This commit is contained in:
Florent 2013-12-15 16:47:42 +01:00
commit a3e6e98b4e
2 changed files with 10 additions and 11 deletions

View file

@ -480,11 +480,6 @@ class ReplApplication(Cmd, ConsoleApplication):
if self.options.condition:
self.condition = ResultsCondition(self.options.condition)
# Enable infinite search by default is condition is set
# (count applies on the non-filtered result, and can be confusing for users)
if self._is_default_count:
self.options.count = None
self._is_default_count = False
else:
self.condition = None