From df7325d712eb27a51faa6fd0475d87516e157d71 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 14 Mar 2012 21:56:36 +0100 Subject: [PATCH] get all fields of housings --- weboob/applications/flatboob/flatboob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/applications/flatboob/flatboob.py b/weboob/applications/flatboob/flatboob.py index 818cb5bd..642471dc 100644 --- a/weboob/applications/flatboob/flatboob.py +++ b/weboob/applications/flatboob/flatboob.py @@ -169,7 +169,7 @@ class Flatboob(ReplApplication): print >>sys.stderr, 'This command takes an argument: %s' % self.get_command_help('info', short=True) return 2 - housing = self.get_object(_id, 'get_housing', []) + housing = self.get_object(_id, 'get_housing') if not housing: print >>sys.stderr, 'Housing not found: %s' % _id return 3