[facet] return else we get name error later
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 25 Oct 2010 15:32:00 +0200
changeset 6623 4cb6d319d16d
parent 6622 27402fe6a94a
child 6624 b30e5428048b
[facet] return else we get name error later
web/facet.py
--- a/web/facet.py	Mon Oct 25 15:31:29 2010 +0200
+++ b/web/facet.py	Mon Oct 25 15:32:00 2010 +0200
@@ -608,6 +608,7 @@
             values = [str(x) for x, in self.rqlexec(rqlst.as_string())]
         except:
             self.exception('while computing values for %s', self)
+            return []
         finally:
             rqlst.recover()
         if self._include_no_relation():