fix bad behaviors

This commit is contained in:
Romain Bignon 2012-02-14 20:27:17 +01:00
commit cbefbe81d2
5 changed files with 17 additions and 14 deletions

View file

@ -146,6 +146,7 @@ class Flatboob(ReplApplication):
query.cost_min = self.ask_int('Enter min cost')
query.cost_max = self.ask_int('Enter max cost')
self.change_path('/housings')
for backend, housing in self.do('search_housings', query):
self.add_object(housing)
self.format(housing)